Commit 1a5fdbad by 冷斌

fix bug

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