|
@@ -74,7 +74,7 @@ export default {
|
|
|
console.log(`signature=${signature}`)
|
|
|
|
|
|
wx.config({
|
|
|
- debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印
|
|
|
+ debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印
|
|
|
appId: appId, // 必填,公众号的唯一标识
|
|
|
timestamp: timestamp, // 必填,生成签名的时间戳
|
|
|
nonceStr: nonceStr, // 必填,生成签名的随机串
|
|
@@ -99,6 +99,8 @@ export default {
|
|
|
});
|
|
|
|
|
|
remoteApi.wxPay(self.recordId,self.openId).then(resp=>{
|
|
|
+ self.$toast.clear();
|
|
|
+
|
|
|
console.log(resp);
|
|
|
self.retMsg = JSON.stringify(resp)
|
|
|
|