mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-23 23:45:08 +08:00
会员:增加会员等级增删改查
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
package cn.iocoder.yudao.module.member.enums;
|
||||
|
||||
/**
|
||||
* Member 字典类型的枚举类
|
||||
*
|
||||
* @author owen
|
||||
*/
|
||||
public interface DictTypeConstants {
|
||||
|
||||
/**
|
||||
* 会员经验记录 - 业务类型
|
||||
*/
|
||||
String MEMBER_EXPERIENCE_BIZ_TYPE = "member_experience_biz_type";
|
||||
|
||||
}
|
@ -41,4 +41,9 @@ public interface ErrorCodeConstants {
|
||||
ErrorCode TAG_NOT_EXISTS = new ErrorCode(1004006000, "会员标签不存在");
|
||||
ErrorCode TAG_NAME_EXISTS = new ErrorCode(1004006001, "会员标签已经存在");
|
||||
|
||||
|
||||
//========== 会员等级 1004007000 ==========
|
||||
ErrorCode LEVEL_NOT_EXISTS = new ErrorCode(1004007000, "会员等级不存在");
|
||||
ErrorCode LEVEL_LOG_NOT_EXISTS = new ErrorCode(1004007100, "会员等级记录不存在");
|
||||
ErrorCode EXPERIENCE_LOG_NOT_EXISTS = new ErrorCode(1004007200, "会员经验记录不存在");
|
||||
}
|
||||
|
@ -0,0 +1,24 @@
|
||||
package cn.iocoder.yudao.module.member.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 会员经验 - 业务类型
|
||||
*
|
||||
* @author owen
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum MemberExperienceBizTypeEnum {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
SYSTEM(0, "系统"),
|
||||
ORDER(1, "订单"),
|
||||
SIGN_IN(2, "签到"),
|
||||
;
|
||||
|
||||
private final int value;
|
||||
private final String name;
|
||||
}
|
Reference in New Issue
Block a user