多品牌使用

This commit is contained in:
shuo.wang
2024-11-05 18:23:00 +08:00
parent ad906eadca
commit 52af6ba903
22 changed files with 983 additions and 5 deletions

View File

@@ -20,7 +20,8 @@ public enum ErrorCodeEnum {
PARTNER_MOBILE_INCORRECT(418, "请输入正确的手机号", null),
PUBLIC_LINE_NOT_FOLLOW(419, "该线索已存在公海,无跟进人", null),
LINE_EXIST_FOLLOW(420, "该线索已存在,跟进人为【{0}{1}】", null),
INTERNAL_SERVER_ERROR(50000, "服务器异常", null),
NO_DATA(50001,"无数据导出",null),
ERROR_MESSAGE(421, "{0}", null),

View File

@@ -0,0 +1,31 @@
package com.cool.store.enums;
/**
* @Author: WangShuo
* @Date: 2024/10/24/下午7:37
* @Version 1.0
* @注释:
*/
public enum FileTypeEnum {
TO_BE_ASSIGNED_LINE("toBeAssignedLine","待分配线索表"),
TEAM_LINE("team_line","团队线索表"),
TEAM_POINT("team_point","团队铺位管理表"),
MY_POINT("my_point","我的铺位管理表"),
MY_FRANCHISEES("my_franchisees","我的加盟商"),
TEAM_FRANCHISEES("team_franchisees","团队加盟商"),
PREPARATION("preparation","进度管理表"),
;
private String fileType;
private String desc;
private FileTypeEnum(String fileType, String desc) {
this.fileType = fileType;
this.desc = desc;
}
public String getFileType() {
return fileType;
}
public String getDesc() {
return desc;
}
}

View File

@@ -0,0 +1,26 @@
package com.cool.store.enums;
/**
* @Author: WangShuo
* @Date: 2024/10/24/下午7:44
* @Version 1.0
* @注释:
*/
public enum ImportStatusEnum {
Ongoing(1,"进行中"),
success(2,"成功"),
fail(3,"失败");
private int code;
private String msg;
ImportStatusEnum(int code, String msg) {
this.code = code;
this.msg = msg;
}
public int getCode() {
return code;
}
public String getMsg() {
return msg;
}
}