2 Commits c1d5d7f8c8 ... dd7ae080a7

Autor SHA1 Mensagem Data
  arthur.wu dd7ae080a7 Merge branch 'master' of http://git.ius.plus:88/Project-Wing/WingInterfaceLibrary há 1 ano atrás
  arthur.wu dc03c936fd add login result for deploy system há 1 ano atrás
2 ficheiros alterados com 30 adições e 1 exclusões
  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和前缀获取编译包数据