Commit ea56fee9 by 宋毅

tj

parent b057cbc4
......@@ -23,7 +23,7 @@ class UtilsPushService extends AppServiceBase {
optitle: pobj.opType + "推送蜂擎获取的接口信息->aliBusiness2Fq",
});
if (pobj.interface_info) {
this.pushBusInfo(pobj, opType, 1);
await this.pushBusInfo(pobj, opType, 1);
return system.getResultSuccess();
}
return system.getResult(null, "push Fail,interface_info data is empty");
......@@ -38,9 +38,10 @@ class UtilsPushService extends AppServiceBase {
if (!interface_list_temp || interface_list_temp.length == 0) {
return system.getResult(null, "暂无【" + opType + "】的推送配置");
}
var self = this;
for (let index = 0; index < interface_list_temp.length; index++) {
const element = interface_list_temp[index];
this.reflexAction(element, opType, pobj, isDelProductInfo);
await self.reflexAction(element, opType, pobj, isDelProductInfo);
}
}
......
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