Commit 1a5fdbad by 冷斌

fix bug

parent e0a95294
...@@ -95,11 +95,16 @@ ...@@ -95,11 +95,16 @@
success: function (data) { success: function (data) {
console.log(data); console.log(data);
if (data.ret == 200) { if (data.ret == 200) {
let d = data.data;
if (d.code == 0) {
_this.allow_money = leftover; _this.allow_money = leftover;
layer.msg('提现成功'); layer.msg('提现成功');
} else { } else {
layer.msg(data.msg); layer.msg(data.msg);
} }
} else {
layer.msg(data.msg);
}
}, },
error: function (e) { error: function (e) {
layer.msg(e.msg); layer.msg(e.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