This commit is contained in:
徐唯轩
2023-11-14 16:32:59 +08:00
parent 441dad9ef6
commit 751ed76e37
298 changed files with 10073 additions and 3527 deletions

View File

@ -26,4 +26,9 @@ public interface DictTypeConstants {
String SMS_SEND_STATUS = "system_sms_send_status"; // 短信发送状态
String SMS_RECEIVE_STATUS = "system_sms_receive_status"; // 短信接收状态
String USER_AGREEMENT = "user_agreement"; // 用户协议
String PRIVACY_AGREEMENT = "privacy_agreement"; // 隐私协议
String DEFAULT_HEAD = "default_head"; // 用户默认头像
}

View File

@ -0,0 +1,28 @@
package co.yixiang.yshop.module.system.enums.agreement;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 通知类型
*
* @author yshop
*/
@Getter
@AllArgsConstructor
public enum AgreementTypeEnum {
USER(1, "用户协议"),
PRIVACY(2, "隐私协议");
/**
* 类型
*/
private final Integer type;
/**
* 描述
*/
private final String des;
}