Commit 1a5fdbad by 冷斌

fix bug

parent e0a95294
......@@ -95,8 +95,13 @@
success: function (data) {
console.log(data);
if (data.ret == 200) {
_this.allow_money = leftover;
layer.msg('提现成功');
let d = data.data;
if (d.code == 0) {
_this.allow_money = leftover;
layer.msg('提现成功');
} else {
layer.msg(data.msg);
}
} else {
layer.msg(data.msg);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment