Browse Source

修复获取验证码限制跨域的问题

zhontai 2 years ago
parent
commit
3e6f362fc7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/platform/ZhonTai.Admin/Services/Auth/AuthService.cs

+ 1 - 0
src/platform/ZhonTai.Admin/Services/Auth/AuthService.cs

@@ -286,6 +286,7 @@ namespace ZhonTai.Admin.Services.Auth
         /// 获取验证数据
         /// </summary>
         /// <returns></returns>
+        [HttpGet]
         [AllowAnonymous]
         [NoOprationLog]
         [EnableCors(AdminConsts.AllowAnyPolicyName)]