Commit 2e3fb0d0 by 孙亚楠

d

parent 506b4b48
......@@ -62,6 +62,9 @@ class OrderCtl extends CtlBase {
item.price = system.y2f(item.price);
}
}
if(!pobj.product_name){
return system.getResult(null,`参数错误 产品名称不能为空`)
}
// 需要去调用商户钱包 扣钱
if(pobj.id){
let reduceAccountBalanceRes = await this.merchantaccountSve.addordelavailable({merchant_id: this.trim(pobj.merchant_id),amount:pobj.price*(-1)});
......
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