Browse Source

类属性不可为null bug修复

lifa 1 year ago
parent
commit
761e739f04
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/platform/ZhonTai.Admin/Services/DiTuiAPI/DiTuiAPIService.cs

+ 2 - 1
src/platform/ZhonTai.Admin/Services/DiTuiAPI/DiTuiAPIService.cs

@@ -133,7 +133,8 @@ namespace ZhonTai.Admin.Services.DiTuiAPI
                     }
                     authLoginOutput.Tenant = tenant;
                 }
-                
+                authLoginOutput.UserName = authLoginOutput.Name;
+
                 string token = GetToken(authLoginOutput);
                 #endregion