Commit de1ad76f by 宋毅

tj

parent 3abcf8df
......@@ -61,10 +61,10 @@ module.exports = function (app) {
params.push(req.query[k]);
}
params.push(req.body);
console.log(JSON.stringify(params), "api..........3333");
var p = null;
var invokeObj = System.getObject("api." + classPath);
if (invokeObj[methodName]) {
console.log(JSON.stringify(params), "api..........22222");
p = invokeObj[methodName].apply(invokeObj, params);
}
p.then(r => {
......
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