Commit e0ec6863 authored by 罗超's avatar 罗超

2

parent ca959ddc
...@@ -7,12 +7,14 @@ export default { ...@@ -7,12 +7,14 @@ export default {
}; };
}, },
onLaunch: function () { onLaunch: function () {
//console.log('App Launch')
this.init(); this.init();
this.formatPlat(); this.formatPlat();
}, },
onShow: function () { onShow: function (options) {
//console.log('App Show') console.log('App Show',options.referrerInfo.extraData)
if(options.referrerInfo.extraData){
uni.setStorageSync("jxhData",options.referrerInfo.extraData)
}
}, },
onHide: function () { onHide: function () {
//console.log('App Hide') //console.log('App Hide')
......
...@@ -198,6 +198,9 @@ export default { ...@@ -198,6 +198,9 @@ export default {
let EduSchoolId = uni.getStorageSync("EduSchoolId") let EduSchoolId = uni.getStorageSync("EduSchoolId")
? uni.getStorageSync("EduSchoolId").EduSchoolId ? uni.getStorageSync("EduSchoolId").EduSchoolId
: 0; : 0;
let EduId = uni.getStorageSync("jxhData")
? uni.getStorageSync("jxhData").Id
: 0;
that.request2( that.request2(
{ {
url: "/api/AppletLogin/Login", url: "/api/AppletLogin/Login",
...@@ -214,6 +217,7 @@ export default { ...@@ -214,6 +217,7 @@ export default {
CounponPassword: CounponPassword, CounponPassword: CounponPassword,
KeyWord: KeyWord, KeyWord: KeyWord,
EduSchoolId: EduSchoolId, EduSchoolId: EduSchoolId,
EduId:EduId
}, },
}, },
(res) => { (res) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment