Commit 571332c6 by 王栋源

wdy

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