Commit 362f91ac by 宋毅

tj

parent 60123751
...@@ -62,7 +62,7 @@ class TmSub { ...@@ -62,7 +62,7 @@ class TmSub {
content: e.stack, content: e.stack,
clientIp: "" clientIp: ""
}); });
return { code: -1, message: "autosub异常", data: [] }; return { code: -1, message: "autosub异常:" + e.stack, data: [] };
} }
} }
//机器人提报更新提报错误--移出更新缓存中的数据--暂时不用此方法 //机器人提报更新提报错误--移出更新缓存中的数据--暂时不用此方法
......
...@@ -43,7 +43,7 @@ module.exports = function (app) { ...@@ -43,7 +43,7 @@ module.exports = function (app) {
for (let k in req.query) { for (let k in req.query) {
params.push(req.query[k]); params.push(req.query[k]);
} }
console.log(params); console.log(JSON.stringify(params), "api.....get.....222");
var p = null; var p = null;
var invokeObj = System.getObject("api." + classPath); var invokeObj = System.getObject("api." + classPath);
if (invokeObj[methodName]) { if (invokeObj[methodName]) {
...@@ -61,7 +61,7 @@ module.exports = function (app) { ...@@ -61,7 +61,7 @@ module.exports = function (app) {
params.push(req.query[k]); params.push(req.query[k]);
} }
params.push(req.body); params.push(req.body);
console.log(JSON.stringify(params), "api..........3333"); console.log(JSON.stringify(params), "api....post......3333");
var p = null; var p = null;
var invokeObj = System.getObject("api." + classPath); var invokeObj = System.getObject("api." + classPath);
if (invokeObj[methodName]) { 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