Commit 719911f2 by 王栋源

wdy

parent 6498801b
......@@ -161,6 +161,9 @@ class CenterorderService {
}
var orderrtn = await this.utilsOrderSve.addOrder(pobj, pobj.actionBody);
if (orderrtn.status != 0) {
if(orderrtn.status==-1){
return system.getResultSuccess(null, "订单已经创建");
}
return system.getResultFail(-5012, "订单创建失败");
}
if (orderrtn.data) {
......
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