Commit c01fa032 by 宋毅

tj

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