Commit b057cbc4 by 宋毅

tj

parent 30c2dfff
...@@ -31,7 +31,6 @@ class UtilsFgbusinesschancService extends AppServiceBase { ...@@ -31,7 +31,6 @@ class UtilsFgbusinesschancService extends AppServiceBase {
if (!Array.isArray(actionBody.businessData)) { if (!Array.isArray(actionBody.businessData)) {
return system.getResult(null, "actionBody.businessData should be Array,100290"); return system.getResult(null, "actionBody.businessData should be Array,100290");
} }
var self = this; var self = this;
var tmpPobj = { var tmpPobj = {
appInfo: pobj.appInfo, appInfo: pobj.appInfo,
...@@ -39,11 +38,11 @@ class UtilsFgbusinesschancService extends AppServiceBase { ...@@ -39,11 +38,11 @@ class UtilsFgbusinesschancService extends AppServiceBase {
} }
var reqUrl = this.centerOrderUrl + "action/fgbusinesschance/springBoard"; var reqUrl = this.centerOrderUrl + "action/fgbusinesschance/springBoard";
for (let index = 0; index < actionBody.businessData.length; index++) { for (let index = 0; index < actionBody.businessData.length; index++) {
const element = actionBody.businessData[index]; var element = actionBody.businessData[index];
tmpPobj.actionBody = element; tmpPobj.actionBody = element;
tmpPobj.actionType = "create"; tmpPobj.actionType = "create";
var tmpResult = await self.restPostUrl(tmpPobj, reqUrl); var tmpResult = await self.restPostUrl(tmpPobj, 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