1
0
mirror of synced 2025-12-23 02:18:07 +08:00

🎨 #2550【开放平台】第三方平台新增全局错误码的中文描述

This commit is contained in:
Jerry
2022-03-01 15:13:13 +08:00
committed by GitHub
parent 8430122655
commit 4339c4dc57
2 changed files with 9210 additions and 0 deletions

View File

@@ -84,6 +84,13 @@ public class WxError implements Serializable {
} }
break; break;
} }
case Open: {
final String msg = WxOpenErrorMsgEnum.findMsgByCode(wxError.getErrorCode());
if (msg != null) {
wxError.setErrorMsg(msg);
}
break;
}
default: default:
return wxError; return wxError;
} }