Commit 28440dfd by 宋毅

tj

parent 5bf1c25c
......@@ -31,14 +31,21 @@ class UtilsFgbusinesschancService extends AppServiceBase {
if (!Array.isArray(actionBody.businessData)) {
return system.getResult(null, "actionBody.businessData should be Array,100290");
}
var self = this;
var tmpPobj = {
appInfo: pobj.appInfo,
actionType: "create"
}
var reqUrl = this.centerOrderUrl + "action/fgbusinesschance/springBoard";
let result = actionBody.businessData
for (let val of result) {
pobj.actionBody = val;
this.restPostUrl(pobj, reqUrl);
this.utilsPushSve.aliBusiness2Fq(pobj, "pushRePurchaseBusiness");
for (let index = 0; index < actionBody.businessData.length; index++) {
const element = actionBody.businessData[index];
tmpPobj.actionBody = element;
var tmpResult = self.restPostUrl(tmpPobj, reqUrl);
if (tmpResult.status == 0) {
self.utilsPushSve.aliBusiness2Fq(tmpPobj, "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