Commit ffc0a1e1 by sxy

fix: 推送商机多条

parent a811b674
...@@ -41,8 +41,8 @@ class UtilsFgbusinesschancService extends AppServiceBase { ...@@ -41,8 +41,8 @@ class UtilsFgbusinesschancService extends AppServiceBase {
for (let index = 0; index < actionBody.businessData.length; index++) { for (let index = 0; index < actionBody.businessData.length; index++) {
const element = actionBody.businessData[index]; const element = actionBody.businessData[index];
tmpPobj.actionBody = element; tmpPobj.actionBody = element;
var tmpResult = self.restPostUrl(tmpPobj, reqUrl); var tmpResult = await self.restPostUrl({ ...tmpPobj, actionType: "create" }, reqUrl);
if (tmpResult.status == 0) { if (tmpResult.status === 0) {
self.utilsPushSve.aliBusiness2Fq(tmpPobj, "pushRePurchaseBusiness"); self.utilsPushSve.aliBusiness2Fq(tmpPobj, "pushRePurchaseBusiness");
} }
} }
......
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