Commit 772d2292 by 宋毅

tj

parent 362f91ac
......@@ -43,7 +43,7 @@ module.exports = function (app) {
for (let k in req.query) {
params.push(req.query[k]);
}
console.log(JSON.stringify(params), "api.....get.....222");
console.log(JSON.stringify(params) + ",req.method=" + req.method, "api.....get.....222");
var p = null;
var invokeObj = System.getObject("api." + classPath);
if (invokeObj[methodName]) {
......@@ -61,7 +61,7 @@ module.exports = function (app) {
params.push(req.query[k]);
}
params.push(req.body);
console.log(JSON.stringify(params), "api....post......3333");
console.log(JSON.stringify(params) + ",req.method=" + req.method, "api....post......3333");
var p = null;
var invokeObj = System.getObject("api." + classPath);
if (invokeObj[methodName]) {
......
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