Commit 4791b5af by 宋毅

新接口

parent 78f5974b
...@@ -78,9 +78,8 @@ class GatewaypushlogService extends ServiceBase { ...@@ -78,9 +78,8 @@ class GatewaypushlogService extends ServiceBase {
if (!invokeObj[item.interface_method]) { if (!invokeObj[item.interface_method]) {
return system.getResult(null, "接口对应的interface_method方法解析有误"); return system.getResult(null, "接口对应的interface_method方法解析有误");
} }
pobj.interface_params = interface_info.params; let params = [item.requestjson];
let params = [pobj]; let doRes = await invokeObj[item.interface_method].apply(invokeObj, params);
let doRes = await invokeObj[interface_info.method_name].apply(invokeObj, params);
console.log("newTaskHandle..............................................", JSON.stringify(newTaskHandle)) console.log("newTaskHandle..............................................", JSON.stringify(newTaskHandle))
return doRes; return doRes;
} }
......
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