|
@@ -99,7 +99,7 @@ public class TencentYunServiceImpl extends ServiceImpl<ITencentYunMapper, Tencen
|
|
|
RtcTokenBuilder token = new RtcTokenBuilder();
|
|
|
String result = token.buildTokenWithUserAccount(tencentYun.getAppid(), tencentYun.getSecretkey(), channelName, userId,roleMap.get(roleId) ,tencentYun.getExTime());
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
- jsonObject.put("sdkAppId",tencentYun.getSdkAppid());
|
|
|
+ jsonObject.put("sdkAppId",tencentYun.getAppid());
|
|
|
jsonObject.put("expire",tencentYun.getExTime());
|
|
|
jsonObject.put("sign",result);
|
|
|
jsonObject.put("operatorType",tencentYun.getOperatorType());
|