Explorar o código

Merge branch 'master' of http://git.dongkesoft.com:9001/iBOSS-2.0-Mini/iboss-dependency-common

zhoux hai 1 ano
pai
achega
894cb1171d

+ 2 - 0
src/main/java/com/dk/common/infrastructure/enums/ErrorCodeEnum.java

@@ -32,6 +32,8 @@ public enum ErrorCodeEnum {
     STAFF_NOT_EXIST(1021, "当前用户在未绑定公司员工"),
     STAFF_UPDATE_ERROR(1022, "用户更新失败"),
     USER_MAX_STAFF_ERROR(1023, "允许登录的人数已达到上限"),
+    USER_MAX_PC_STAFF_ERROR(1024, "允许登录PC的人数已达到上限"),
+    USER_MAX_WX_STAFF_ERROR(1025, "允许登录移动端的人数已达到上限"),
     APP_NOT_EXIST(9999, "当前系统应用不存在"),
 
     SYSTEM_NULL(2001, "系统不存在"),

+ 2 - 2
src/main/java/com/dk/common/model/response/mst/StaffResponse.java

@@ -101,9 +101,9 @@ public class StaffResponse extends PageInfo<StaffResponse> implements Serializab
     private Boolean flgCanLogin;
 
     /**
-     * 登录系统 0:PC端,1:移动端,2:PC+移动端
+     * 1:PC端,2:移动端,3:PC+移动端
      */
-    @ApiModelProperty(value = "登录系统 0:PC端,1:移动端,2:PC+移动端")
+    @ApiModelProperty(value = "1:PC端,2:移动端,3:PC+移动端")
     private Integer loginType;
 
     /**

+ 2 - 2
src/main/java/com/dk/common/model/vo/mst/StaffVO.java

@@ -106,9 +106,9 @@ public class StaffVO extends PageInfo<StaffVO> implements Serializable {
     @ApiModelProperty(value = "登录标识")
     private Boolean flgCanLogin;
     /**
-     * 登录系统 0:PC端,1:移动端,2:PC+移动端
+     * 1:PC端,2:移动端,3:PC+移动端
      */
-    @ApiModelProperty(value = "登录系统 0:PC端,1:移动端,2:PC+移动端")
+    @ApiModelProperty(value = "1:PC端,2:移动端,3:PC+移动端")
     private Integer loginType;
     /**
      * @desc   : 角色list