|
@@ -29,8 +29,7 @@ if (query.code) {
|
|
|
.then((res: any) => {
|
|
.then((res: any) => {
|
|
|
wx.config({
|
|
wx.config({
|
|
|
...res,
|
|
...res,
|
|
|
- jsApiList: ['chooseWXPay', 'updateAppMessageShareData', 'updateTimelineShareData'],
|
|
|
|
|
- debug: true
|
|
|
|
|
|
|
+ jsApiList: ['chooseWXPay', 'updateAppMessageShareData', 'updateTimelineShareData']
|
|
|
})
|
|
})
|
|
|
wx.ready(function () {
|
|
wx.ready(function () {
|
|
|
// fetchPay(openid).then((params: any) => {
|
|
// fetchPay(openid).then((params: any) => {
|