Commit 9ffb241c by 宋毅

tj

parent 3346acd2
...@@ -20,13 +20,11 @@ class tmqueryCtl extends CtlBase { ...@@ -20,13 +20,11 @@ class tmqueryCtl extends CtlBase {
if (!pobj.actionBody.channelUserId) { if (!pobj.actionBody.channelUserId) {
return system.getResultFail(-99, "verify channelUserId is not empty"); return system.getResultFail(-99, "verify channelUserId is not empty");
} }
if (pobj.actionProcess && pobj.actionProcess == "bw") { if (!req.session.userPinInfo) {
if (!req.session.userPinInfo) { return system.getResultFail(-99, "user is not login");
return system.getResultFail(-99, "user is not login"); }
} if (req.session.userPinInfo.encryptChannelUserId != pobj.actionBody.channelUserId) {
if (req.session.userPinInfo.encryptChannelUserId != pobj.actionBody.channelUserId) { return system.getResultFail(-99, "user login is error");
return system.getResultFail(-99, "user login is error");
}
} }
pobj.isDecryptUser = "yes"; pobj.isDecryptUser = "yes";
} }
......
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