Commit c01fa032 by 宋毅

tj

parent da7749e2
...@@ -122,7 +122,7 @@ class APIBase { ...@@ -122,7 +122,7 @@ class APIBase {
req.headers["request-id"] = requestid; req.headers["request-id"] = requestid;
} }
try { try {
if (methodname == "createChannelUser") { if (pobj.actionType == "createChannelUser") {
if (!pobj.isUser) { if (!pobj.isUser) {
system.getResult(null, "isUser is not empty"); system.getResult(null, "isUser is not empty");
} }
...@@ -136,7 +136,7 @@ class APIBase { ...@@ -136,7 +136,7 @@ class APIBase {
isPassResult.requestId = ""; isPassResult.requestId = "";
return isPassResult; return isPassResult;
} }
if (methodname == "createChannelUser") { if (pobj.actionType == "createChannelUser") {
var encryptResult = await this.toolSve.encryptStr(req.app, req.user.channelUserId); var encryptResult = await this.toolSve.encryptStr(req.app, req.user.channelUserId);
if (encryptResult.status != 0) { if (encryptResult.status != 0) {
system.getResult(null, "encrypt channelUserId is error"); system.getResult(null, "encrypt channelUserId is error");
......
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