|
@@ -649,19 +649,25 @@ ICallApplication callApplication,
|
|
|
|
|
|
[AllowAnonymous]
|
|
|
[HttpGet("t2")]
|
|
|
- public async Task<string> GetVoiceEndAnswerAsyncTest()
|
|
|
+ public async Task<string> GetCacheAllowAnonymous()
|
|
|
{
|
|
|
var systemAdministrator = _systemSettingCacheManager.GetSetting(SettingConstants.SystemAdministrator)?.SettingValue[0];
|
|
|
return systemAdministrator;
|
|
|
}
|
|
|
|
|
|
[HttpGet("t3")]
|
|
|
- public async Task<string> GetVoiceEndAnswerAsyncTest1()
|
|
|
+ public async Task<string> GetCacheWithAuth()
|
|
|
{
|
|
|
var systemAdministrator = _systemSettingCacheManager.GetSetting(SettingConstants.SystemAdministrator)?.SettingValue[0];
|
|
|
return systemAdministrator;
|
|
|
}
|
|
|
|
|
|
+ [AllowAnonymous]
|
|
|
+ [HttpGet("t4")]
|
|
|
+ public async Task<string> GetAllowAnonymous()
|
|
|
+ {
|
|
|
+ return DateTime.Now.ToString("O");
|
|
|
+ }
|
|
|
|
|
|
[HttpGet("rsa")]
|
|
|
public async Task<string> Rsa()
|