Browse Source

交易关闭时限制提币不显示报错

master
liaoxinyu 1 year ago
parent
commit
f68d8068a8
  1. 9
      api/serve/index.js

9
api/serve/index.js

@ -196,7 +196,14 @@ x.fn = x.prototype = {
reject(message);
break;
}
if (config.toast !== false&&message&& code!=666) {
if (config.toast !== false&&message&& this.url!=='https://sbga.sbdccoin.com/api/app/user/withdraw') {
uni.showToast({
title: message,
duration: 2000,
icon: 'none'
});
}else if(config.toast !== false&&message&&code!==666 && this.url=='https://sbga.sbdccoin.com/api/app/user/withdraw'){
uni.showToast({
title: message,
duration: 2000,

Loading…
Cancel
Save