Commit 66a8cfb5 by sxy

fix: 接受推送商机

parent 4437bbdb
......@@ -28,7 +28,15 @@ class UtilsFgbusinesschancService extends AppServiceBase {
if (!actionBody.businessData) {
return system.getResult(null, "actionBody.businessData can not be empty,100290");
}
this.utilsPushSve.aliBusiness2Fq(pobj, "pushRePurchaseBusiness");
if (!Array.isArray(actionBody.businessData)) {
return system.getResult(null, "actionBody.businessData should be Array,100290");
}
let result = actionBody.businessData
for (let val of result) {
pobj.actionBody = val;
this.utilsPushSve.aliBusiness2Fq(pobj, "pushRePurchaseBusiness");
}
return system.getResultSuccess();
}
......
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