|
@@ -38,13 +38,14 @@
|
|
|
showLogin: true,
|
|
showLogin: true,
|
|
|
appkey: '5AA49F3E4CACA380',
|
|
appkey: '5AA49F3E4CACA380',
|
|
|
sub_appid: '1015730314_1941301045',
|
|
sub_appid: '1015730314_1941301045',
|
|
|
- appid: 'wx2fc3f45732fae5d3', // 获取用户信息
|
|
|
|
|
|
|
+ // appid: 'wx2fc3f45732fae5d3', // 获取用户信息
|
|
|
|
|
+ appid: 'wxd6f090391d410534 ', // 获取用户信息
|
|
|
ocode: '1015730314', // 获取用户信息
|
|
ocode: '1015730314', // 获取用户信息
|
|
|
app_secret: '58D34C81D82B35179ED896C4362B0FC0', // 获取用户信息
|
|
app_secret: '58D34C81D82B35179ED896C4362B0FC0', // 获取用户信息
|
|
|
// 用于传给后代页面
|
|
// 用于传给后代页面
|
|
|
- appid_pass: 'wxd6f090391d410534', // 传给后代页面,用于唤起支付
|
|
|
|
|
- ocode_pass: '1609853253', // 传给后代页面,用于唤起支付
|
|
|
|
|
- app_secret_pass: 'eb99fffa11caa585fcf7c97c891a5e1f', // 传给后代页面,用于唤起支付
|
|
|
|
|
|
|
+ // appid_pass: 'wxd6f090391d410534', // 传给后代页面,用于唤起支付
|
|
|
|
|
+ // ocode_pass: '1609853253', // 传给后代页面,用于唤起支付
|
|
|
|
|
+ // app_secret_pass: 'eb99fffa11caa585fcf7c97c891a5e1f', // 传给后代页面,用于唤起支付
|
|
|
wxcode: '',
|
|
wxcode: '',
|
|
|
access_token: '',
|
|
access_token: '',
|
|
|
access_token_for_amount: '', // 获取到应用有效凭证
|
|
access_token_for_amount: '', // 获取到应用有效凭证
|
|
@@ -200,6 +201,7 @@
|
|
|
this.userinfo.app_secret = this.app_secret_pass
|
|
this.userinfo.app_secret = this.app_secret_pass
|
|
|
this.userinfo.ocode = this.ocode_pass
|
|
this.userinfo.ocode = this.ocode_pass
|
|
|
this.userinfo.access_token = this.access_token
|
|
this.userinfo.access_token = this.access_token
|
|
|
|
|
+ // console.log(this.userinfo)
|
|
|
// console.log(this.access_token)
|
|
// console.log(this.access_token)
|
|
|
// 存储用户信息
|
|
// 存储用户信息
|
|
|
uni.setStorageSync('userinfo_storage_key', this.userinfo)
|
|
uni.setStorageSync('userinfo_storage_key', this.userinfo)
|