sdk 测试代码中区分社区版和专业版

This commit is contained in:
imhao183
2020-08-24 09:50:29 +08:00
parent e41ae9a9e7
commit d89e641470
3 changed files with 106 additions and 97 deletions
@@ -61,8 +61,8 @@ public class CreateChannelAction extends AdminAction {
if (errorCode == ErrorCode.ERROR_CODE_SUCCESS) {
byte[] data = new byte[byteBuf.readableBytes()];
byteBuf.readBytes(data);
String secret = new String(data);
sendResponse(response, null, new OutputCreateChannel(inputCreateChannel.getTargetId(), secret));
String channelId = new String(data);
sendResponse(response, null, new OutputCreateChannel(channelId));
} else {
sendResponse(response, errorCode, null);
}