mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-14 12:45:41 +08:00
调整用户管理接口
This commit is contained in:
@@ -54,6 +54,23 @@ public enum ClientEnum {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据编码获取Msg
|
||||
*
|
||||
* @author fzr
|
||||
* @param code 类型
|
||||
* @return String
|
||||
*/
|
||||
public static String getMsgByCode(Integer code){
|
||||
for(ClientEnum enumItem: ClientEnum.values()) {
|
||||
if (enumItem.getCode() == code) {
|
||||
return enumItem.getMsg();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user