mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🎨 #2550【开放平台】第三方平台新增全局错误码的中文描述
This commit is contained in:
parent
8430122655
commit
4339c4dc57
@ -84,6 +84,13 @@ public class WxError implements Serializable {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case Open: {
|
||||
final String msg = WxOpenErrorMsgEnum.findMsgByCode(wxError.getErrorCode());
|
||||
if (msg != null) {
|
||||
wxError.setErrorMsg(msg);
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
return wxError;
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user