Commit 57478038 by 宋毅

tj

parent ea56fee9
...@@ -32,20 +32,22 @@ class UtilsFgbusinesschancService extends AppServiceBase { ...@@ -32,20 +32,22 @@ class UtilsFgbusinesschancService extends AppServiceBase {
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 reqUrl = this.centerOrderUrl + "action/fgbusinesschance/springBoard";
for (let index = 0; index < actionBody.businessData.length; index++) {
var item = actionBody.businessData[index];
if (item) {
var tmpPobj = { var tmpPobj = {
appInfo: pobj.appInfo, appInfo: pobj.appInfo,
actionType: "create" actionType: "create",
actionBody = item
} }
var reqUrl = this.centerOrderUrl + "action/fgbusinesschance/springBoard";
for (let index = 0; index < actionBody.businessData.length; index++) {
var element = actionBody.businessData[index];
tmpPobj.actionBody = element;
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");
} }
} }
}
return system.getResultSuccess(); 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