优化方法名称

This commit is contained in:
zhangdeman committed 2025-06-03 21:33:24 +08:00
1 parent 8d81df1ad6
commit ff96f647e6
1 file changed
+3 -2
@@ -72,8 +72,9 @@ public class HashMapCache implements ServletContextListener {
public static HashMapCache getInstance() {
return hashMapCache;
}
// 读取
public String getCodeMessage(String category, String code) {
// 读取描述
public String getMessage(String category, String code) {
String key = category + "_" + code;
if (!cache.containsKey(key)) {
// 不包含指定code
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.