Commit 571332c6 by 王栋源

wdy

parent c45cad1d
...@@ -280,9 +280,13 @@ class GatewaypushlogService extends ServiceBase { ...@@ -280,9 +280,13 @@ class GatewaypushlogService extends ServiceBase {
pobj.area = "海南"; pobj.area = "海南";
break; break;
default: default:
opResult = system.getResult(null, "area参数错误"); pobj.area = "";
break; break;
} }
}
if (!pobj.area) {
return self.getResultFail("area参数错误");
}
var param = { var param = {
requestId: self.getUUID(), requestId: self.getUUID(),
requestUrl: "/api/ali/tm/consultation/submit", requestUrl: "/api/ali/tm/consultation/submit",
...@@ -294,7 +298,7 @@ class GatewaypushlogService extends ServiceBase { ...@@ -294,7 +298,7 @@ class GatewaypushlogService extends ServiceBase {
} }
await self.create(param); await self.create(param);
return self.getResultSuccess(param.requestId); return self.getResultSuccess(param.requestId);
}
} }
//icp需求反馈 //icp需求反馈
...@@ -331,7 +335,7 @@ class GatewaypushlogService extends ServiceBase { ...@@ -331,7 +335,7 @@ class GatewaypushlogService extends ServiceBase {
if (!pobj.status) { if (!pobj.status) {
return self.getResultFail("status不能为空"); return self.getResultFail("status不能为空");
} }
pobj.action_type="queryOrderState"; pobj.action_type = "queryOrderState";
var param = { var param = {
requestId: self.getUUID(), requestId: self.getUUID(),
requestUrl: "/api/ali/tm/status/notify", requestUrl: "/api/ali/tm/status/notify",
...@@ -346,5 +350,5 @@ class GatewaypushlogService extends ServiceBase { ...@@ -346,5 +350,5 @@ class GatewaypushlogService extends ServiceBase {
} }
} }
module.exports = GatewaypushlogService; module.exports = GatewaypushlogService;
\ No newline at end of file
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