[更新]
This commit is contained in:
13
app.js
13
app.js
@@ -9,7 +9,10 @@ var QQMapWX = require('utils/qqmap-wx-jssdk.min.js');
|
||||
var qqmapsdk;
|
||||
|
||||
App({
|
||||
onLaunch() {
|
||||
onLaunch(e) {
|
||||
// 获取打开场景值
|
||||
this.globalData.scene = e.scene
|
||||
|
||||
// 沃支付是否开启
|
||||
api.index.woPayment().then(res=>{
|
||||
this.globalData.unicomPay = res.data.unicom_pay
|
||||
@@ -61,6 +64,7 @@ App({
|
||||
wx.$api = api
|
||||
},
|
||||
globalData: {
|
||||
scene : '',
|
||||
isUser : false,
|
||||
userInfo : null,
|
||||
token : "",
|
||||
@@ -72,6 +76,11 @@ App({
|
||||
adcode : '',
|
||||
longitude : '',
|
||||
latitude : '',
|
||||
unicomPay : false
|
||||
unicomPay : '',
|
||||
shareObj : {
|
||||
type : '',
|
||||
goodsId : '',
|
||||
userId : ''
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user