com.didiglobal.logi.security.common.enums.message.MessageCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logi-security-spring-boot-starter Show documentation
Show all versions of logi-security-spring-boot-starter Show documentation
logi-security 提供项目大多都需要的一些基础功能(用户、角色、权限、登录、注册、操作记录)
package com.didiglobal.logi.security.common.enums.message;
import lombok.Getter;
/**
* @author cjm
*/
@Getter
public enum MessageCode {
/* 角色添加消息 */
ROLE_ADD_MESSAGE("角色权限变动通知", "管理员于%s,为您分配了角色{%s},请知悉;"),
/* 角色移除消息 */
ROLE_REMOVE_MESSAGE("角色权限变动通知", "管理员于%s,移除了角色{%s},请知悉;");
private final String title;
private final String content;
MessageCode(String title, String content) {
this.title = title;
this.content = content;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy