Commit 1f898bae by linboxuan

ali wangwen 2.3 produceNoticeAliEsp

parent e09a889c
...@@ -25,9 +25,18 @@ class edi extends APIBase { ...@@ -25,9 +25,18 @@ class edi extends APIBase {
async opActionProcess(pobj, action_type, action_body, req) { async opActionProcess(pobj, action_type, action_body, req) {
var opResult = null; var opResult = null;
switch (action_type) { switch (action_type) {
case "submitNeedAliEsp"://支付回调 case "submitNeedAliEsp":
opResult = await this.utilsNeedSve.submitNeedAliEsp(pobj,pobj.actionBody); opResult = await this.utilsNeedSve.submitNeedAliEsp(pobj,pobj.actionBody);
break; break;
case "needCloseAliEsp":
opResult = await this.utilsNeedSve.needCloseAliEsp(pobj,pobj.actionBody);
break;
case "produceNoticeAliEsp":
result = await this.utilsNeedSve.ediNotify(pobj, pobj.actionBody);
if (result.status == 0) {
opResult = await this.utilsNeedSve.produceNoticeAliEsp(pobj,pobj.actionBody);
}
break;
default: default:
opResult = system.getResult(null, "action_type参数错误"); opResult = system.getResult(null, "action_type参数错误");
break; break;
......
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