市北人才赋能平台 --小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
619 B

6 years ago
//app.js
import {HTTP} from '/utils/http.js'
const http = new HTTP()
6 years ago
App({
onLaunch: function (options) {
console.log('党群e家');
console.log(options);
if(options.referrerInfo.hasOwnProperty('extraData')){
this.globalData.navigate.mobile = options.extraData.mobile,
this.globalData.navigate.nickname = options.extraData.nickname,
this.globalData.navigate.faceImg = options.extraData.faceImg
}
http.fetchAuthToken(res => {
// console.log(res)
})
6 years ago
},
globalData: {
userInfo: null,
navigate:{
mobile:'',
nickname:'',
faceImg:''
}
6 years ago
}
})