Commit 3c2f9db9 by 王栋源

wdy

parent c79fc3a3
...@@ -5,6 +5,7 @@ class Need extends APIBase { ...@@ -5,6 +5,7 @@ class Need extends APIBase {
constructor() { constructor() {
super(); super();
this.utilsNeedSve = system.getObject("service.utilsSve.utilsNeedSve"); this.utilsNeedSve = system.getObject("service.utilsSve.utilsNeedSve");
this.centerorderSve = system.getObject("service.common.centerorderSve");
} }
/** /**
...@@ -24,6 +25,7 @@ class Need extends APIBase { ...@@ -24,6 +25,7 @@ class Need extends APIBase {
return result; return result;
} }
async opActionProcess(pobj, action_process, action_type, action_body, req) { async opActionProcess(pobj, action_process, action_type, action_body, req) {
var opResult = null; var opResult = null;
switch (action_type) { switch (action_type) {
case "submitNeed"://提交需求 case "submitNeed"://提交需求
...@@ -32,6 +34,9 @@ class Need extends APIBase { ...@@ -32,6 +34,9 @@ class Need extends APIBase {
case "needClose"://关闭需求 case "needClose"://关闭需求
opResult = await this.utilsNeedSve.needClose(pobj, pobj.actionBody); opResult = await this.utilsNeedSve.needClose(pobj, pobj.actionBody);
break; break;
case "receiveFeedback"://接收方案反馈信息
opResult = await this.centerorderSve.reqCenterOrderApi(pobj);
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