2 Angajamente c1d5d7f8c8 ... dd7ae080a7

Autor SHA1 Permisiunea de a trimite mesaje. Dacă este dezactivată, utilizatorul nu va putea trimite nici un fel de mesaj Data
  arthur.wu dd7ae080a7 Merge branch 'master' of http://git.ius.plus:88/Project-Wing/WingInterfaceLibrary 1 an în urmă
  arthur.wu dc03c936fd add login result for deploy system 1 an în urmă
2 a modificat fișierele cu 30 adăugiri și 1 ștergeri
  1. 29 0
      src/Enum/DeployPlatEnum.cs
  2. 1 1
      src/Interface/IDeployPlatformService.cs

+ 29 - 0
src/Enum/DeployPlatEnum.cs

@@ -20,4 +20,33 @@ namespace WingInterfaceLibrary.Enum
 
 
     }
+
+    /// <summary>
+    /// 课程考试类型 
+    /// </summary>
+    /// <enumDocFirstDirectory>枚举代码</enumDocFirstDirectory>
+    /// <remarks>名称|代码|描述</remarks>
+    public enum DeployPlatLoginResultEnum
+    {
+        /// <summary>
+        ///Ok|0| 登录成功
+        /// </summary>
+        Ok,
+        /// <summary>
+        ///WrongAccountName|1| 用户名错误
+        /// </summary>
+        WrongAccountName,
+        /// <summary>
+        ///WrongPassword|2| 密码错误
+        /// </summary>
+        WrongPassword,
+        /// <summary>
+        ///AccountInActive|3| 用户未激活
+        /// </summary>
+        AccountInActive,
+        /// <summary>
+        ///Unknown|4| 未知异常
+        /// </summary>
+        Unknown,
+    }
 }

+ 1 - 1
src/Interface/IDeployPlatformService.cs

@@ -94,7 +94,7 @@ namespace WingInterfaceLibrary.Interface
         /// 登录
         /// </summary>
         /// <returns></returns>
-        Task<bool> LoginAsync(OperatorLoginRequest request);
+        Task<DeployPlatLoginResultEnum> LoginAsync(OperatorLoginRequest request);
 
         /// <summary>
         /// 根据url和前缀获取编译包数据