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

This commit is contained in:
Jerry 2022-03-01 15:13:13 +08:00 committed by GitHub
parent 8430122655
commit 4339c4dc57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9210 additions and 0 deletions

View File

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