Browse Source

下单报错提示

master
shaojing 2 years ago
parent
commit
0df12d98b4
  1. 2
      app.js
  2. 3
      pages/order/pay/index.js

2
app.js

@ -21,7 +21,7 @@ App({
unique_key: "wechatxcx" unique_key: "wechatxcx"
}).then(res => { }).then(res => {
let data = JSON.parse(res.data); let data = JSON.parse(res.data);
data.isTest = data.isTest146? true : false; data.isTest = data.isTest147? true : false;
this.globalData.configJson = data this.globalData.configJson = data
}).then(() => { }).then(() => {
// 获取ui配置文件 // 获取ui配置文件

3
pages/order/pay/index.js

@ -240,7 +240,8 @@ Page({
} }
else { else {
wx.showToast({ wx.showToast({
title: data.ERRORMSG || "支付失败,请重试", // title: data.ERRORMSG || "支付失败,请重试",
title: res.msg,
icon:"none" icon:"none"
}) })
} }

Loading…
Cancel
Save