Commit e0ec6863 authored by 罗超's avatar 罗超

2

parent ca959ddc
......@@ -7,12 +7,14 @@ export default {
};
},
onLaunch: function () {
//console.log('App Launch')
this.init();
this.formatPlat();
},
onShow: function () {
//console.log('App Show')
onShow: function (options) {
console.log('App Show',options.referrerInfo.extraData)
if(options.referrerInfo.extraData){
uni.setStorageSync("jxhData",options.referrerInfo.extraData)
}
},
onHide: function () {
//console.log('App Hide')
......
......@@ -198,6 +198,9 @@ export default {
let EduSchoolId = uni.getStorageSync("EduSchoolId")
? uni.getStorageSync("EduSchoolId").EduSchoolId
: 0;
let EduId = uni.getStorageSync("jxhData")
? uni.getStorageSync("jxhData").Id
: 0;
that.request2(
{
url: "/api/AppletLogin/Login",
......@@ -214,6 +217,7 @@ export default {
CounponPassword: CounponPassword,
KeyWord: KeyWord,
EduSchoolId: EduSchoolId,
EduId:EduId
},
},
(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