Commit 66a97040 by zhaoxiqing

gsb

parent 805ef6c9
......@@ -31,6 +31,10 @@ class MerchantaccountService extends ServiceBase {
return system.getResultFail("-1", "请先充值");
}
if (0 > (amount.balance_amount - params.amount)) {
return system.getResultFail(-1, "余额不足");
}
var data = await this.dao.addordelmerchantrmb(params);
return system.getResultSuccess(data);
} catch (e) {
......
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