Browse Source

登录测试

黄贺彬 6 years ago
parent
commit
bee4de6937
1 changed files with 2 additions and 1 deletions
  1. 2 1
      TEAMModelOS/Controllers/Common/LoginController.cs

+ 2 - 1
TEAMModelOS/Controllers/Common/LoginController.cs

@@ -113,7 +113,8 @@ namespace TEAMModelOS.Controllers.Common
         /// </summary>
         /// </summary>
         /// <returns></returns>
         /// <returns></returns>
         [HttpPost("authentication")]
         [HttpPost("authentication")]
-        [Authorize("Bearer")]
+        //[Authorize("Bearer")]
+        [Authorize]
         public object Authentication()
         public object Authentication()
         {
         {
             return "aaa";
             return "aaa";