Commit 81c29c0d by 宋毅

th

parent 0607c932
...@@ -48,6 +48,15 @@ class ReceiveDataAPI extends APIBase { ...@@ -48,6 +48,15 @@ class ReceiveDataAPI extends APIBase {
// action_body.user = req.user; // action_body.user = req.user;
// action_body.app = { id: 1, appPayType: "00", appDataOpType: "00" }; // action_body.app = { id: 1, appPayType: "00", appDataOpType: "00" };
// action_body.user = { id: 1, app_id: 1, nickname: "测试用户",channelUserId:"channelUserIdtest01" }; // action_body.user = { id: 1, app_id: 1, nickname: "测试用户",channelUserId:"channelUserIdtest01" };
var logParam = {
appid: req.app.id,
appkey: req.app.uappKey,
requestId: req.requestId || "",
op: "/igirl-channel/zhichan/igirl-channel/app/base/api/impl/action/receiveData.js/opActionProcess",
content: "参数信息:" + JSON.stringify(action_body),
clientIp: pobj.clientIp,
optitle: "接收推送过来的数据处理=>action_type=" + action_type;,
};
var opResult = null; var opResult = null;
switch (action_type) { switch (action_type) {
// sy // sy
...@@ -71,6 +80,8 @@ class ReceiveDataAPI extends APIBase { ...@@ -71,6 +80,8 @@ class ReceiveDataAPI extends APIBase {
opResult = system.getResult(null, "action_type参数错误"); opResult = system.getResult(null, "action_type参数错误");
break; break;
} }
logParam.resultInfo = JSON.stringify(opResult);
this.logCtl.info(logParam);
return opResult; return opResult;
} }
......
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