Commit 9840e8b8 by 宋毅

增加返回值

parent 52c4d8c8
......@@ -427,16 +427,13 @@ class BaseQcService {
async serviceProviderNotification(pobj) {
let ab = pobj.actionBody;
if (!pobj.userInfo || !pobj.userInfo.id) {
return system.getResultFail(-100, "未知用户");
}
if (!ab.ApplicationStatus) {
return system.getResultFail(-102, "通知状态不能为空");
return system.getResultFail(-1100, "未知用户");
}
if (!ab.orderNo) {
return system.getResultFail(-101, "订单号不能为空");
return system.getResultFail(-1101, "订单号不能为空");
}
if (!ab.status) {
return system.getResultFail(-102, "交付状态不能为空");
return system.getResultFail(-1102, "交付状态不能为空");
} else {
ab["ApplicationStatus"] = ab.status;
}
......
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