调整用户管理接口

This commit is contained in:
TinyAnts
2022-09-08 10:43:23 +08:00
parent ce877ff7f1
commit d042c12a31
10 changed files with 140 additions and 3 deletions

View File

@@ -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;
}
/**