Commit c8ff7f76 by 王栋源

wdy

parent 08759313
...@@ -62,7 +62,7 @@ class Need extends APIBase { ...@@ -62,7 +62,7 @@ class Need extends APIBase {
break; break;
case "icpNotify"://icp方案更新 case "icpNotify"://icp方案更新
var rtn = await this.utilsNeedSve.icpNotify(pobj, pobj.actionBody); var rtn = await this.utilsNeedSve.icpNotify(pobj, pobj.actionBody);
if (pobj.actionBody.status == 4 && rtn.status == 0) { if (pobj.actionBody.status == 2 && rtn.status == 0) {
opResult = await self.centerorderSve.icppaysuccess(pobj, pobj.actionBody); opResult = await self.centerorderSve.icppaysuccess(pobj, pobj.actionBody);
} else { } else {
opResult = rtn; opResult = rtn;
......
...@@ -49,7 +49,7 @@ class UtilsNeedService extends AppServiceBase { ...@@ -49,7 +49,7 @@ class UtilsNeedService extends AppServiceBase {
}else{ }else{
pobj.actionBody.regType="ali.edi"; pobj.actionBody.regType="ali.edi";
} }
this.utilsPushSve.aliBusiness2Fq(pobj, "intention"); this.utilsPushSve.aliBusiness2Fq(pobj, "pushNeedICPBusiness");
} }
} }
return result; return result;
...@@ -206,7 +206,7 @@ class UtilsNeedService extends AppServiceBase { ...@@ -206,7 +206,7 @@ class UtilsNeedService extends AppServiceBase {
if (result.status == 0) { if (result.status == 0) {
//推送ali //推送ali
// await self.aliclient.reqbyget({ action: "CloseIntention", reqbody: { BizId: actionBody.channelNeedNo }, apiVersion: "2019-05-08" }); // await self.aliclient.reqbyget({ action: "CloseIntention", reqbody: { BizId: actionBody.channelNeedNo }, apiVersion: "2019-05-08" });
// self.utilsPushSve.aliBusiness2Fq(pobj, "pushCloseNeed"); self.utilsPushSve.aliBusiness2Fq(pobj, "pushCloseICPNeed");
return system.getResultSuccess(); return system.getResultSuccess();
} else { } else {
return system.getResult(null, "close fail 100389"); return system.getResult(null, "close fail 100389");
......
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