|
@@ -70,7 +70,11 @@ namespace WingCloudServer.Plugin
|
|
|
"IVinnoServerService/EchoAsync",
|
|
|
"IVinnoServerService/UpdateServerIPListAsync",
|
|
|
"IAIDiagnosisService/DiagnosisImageAsync",
|
|
|
- "IReportService/CreateReportTemplatePreviewAsync"
|
|
|
+ "IReportService/CreateReportTemplatePreviewAsync",
|
|
|
+ "IWingRtcService/GetRoomIdAsync",
|
|
|
+ "IWingRtcService/GenerateRoomUrlAsync",
|
|
|
+ "IWingRtcService/GetRtcSettingAsync",
|
|
|
+ "IWingRtcService/GetUserSignAsync",
|
|
|
};
|
|
|
|
|
|
public PluginProcessResult PreProcess(IJsonRpcHttpContext context, byte[] requestData)
|
|
@@ -78,7 +82,7 @@ namespace WingCloudServer.Plugin
|
|
|
var dataLength = (int)context.GetRequestContentLength();
|
|
|
var requests = JsonRpcCodec.DecodeRequestsAsync(requestData, new System.Threading.CancellationToken(), dataLength).Result;
|
|
|
var apiName = $"{context.GetRequestPath().Trim('/')}/{requests[0].Method.Trim('/')}";
|
|
|
- if (context.GetRequestPath() != "/IAuthenticationService" && context.GetRequestPath() != "/IMasterInteractionCenterService" && !NotValidationRequiredList.Contains(apiName))
|
|
|
+ if (context.GetRequestPath() != "/IAuthenticationService" && context.GetRequestPath() != "/IMasterInteractionCenterService" && !NotValidationRequiredList.Contains(apiName)&&!context.GetRequestPath().Contains("IDynamicSlaveService") )
|
|
|
{
|
|
|
var tokenRequest = new ValidateTokenRequest();
|
|
|
try
|