Commit eed9f7a2010b8986aa207551a1cb24602a9ea63d

Authored by WXD-SEASON\season
1 parent 6271a5dd

提交失败出错提示

pages/user/deposit/prepaid/prepaid.js
... ... @@ -125,7 +125,16 @@ Page({
125 125 }
126 126 }).then(res => {
127 127 console.log(res);
128   -
  128 + var getcode=res.data.code;
  129 + if (getcode!=0)
  130 + {
  131 + wx.showModal({
  132 + title: '提示',
  133 + content:res.data.msg
  134 + });
  135 + return false;
  136 + }
  137 +
129 138  
130 139 var msg = res.data.data;
131 140 var parentSn = msg.order_sn;
... ...