Commit 6d431e95 authored by liwenbin's avatar liwenbin

增加错误类型捕获

parent 17ac6304
......@@ -14,11 +14,11 @@ public enum UserLoanType {
RE_LOAN(2, "复贷");
@Getter
private Integer code;
private int code;
@Getter
private String title;
UserLoanType(Integer code, String title) {
UserLoanType(int code, String title) {
this.code = code;
this.title = title;
}
......
......@@ -56,7 +56,7 @@ public enum QGExceptionType {
CHANNEL_FUND_CONFIG_GREATER_THAN_TOW(3005, "渠道资方有效配置大于2条,请检查; bizChannel : %s"),
HIT_FUND_BUT_AMOUNT_OR_TERM_IS_EMPTY(3006, "命中资方但额度或期数为空, 请检查!"),
GET_USER_INFO_ERROR(3007, "用户中心获取用户信息异常!"),
GET_USER_INFO_ERROR(3007, "用户中心获取用户信息异常, uuid : %s"),
USER_PHONE_NO_EMPTY(3008, "用户手机号为空"),
USER_ID_NO_EMPTY(3009, "用户身份证为空"),
USER_NAME_EMPTY(3010, "用户姓名为空"),
......@@ -65,7 +65,14 @@ public enum QGExceptionType {
NIWODAI_INCOMING_RESULT_ERROR(3013, "你我贷进件返回结果异常, response : %s"),
NIWODAI_INCOMING_AUDIT_RESULT_ERROR(3014, "你我贷进件审核返回结果异常, response : %s"),
OCR_DATA_MISS(3015,"OCR信息数据缺失,请核查"),
UNKNOW_AID_FUND_ID(3016, "未知的助贷资方, fundId : %s");
UNKNOW_AID_FUND_ID(3016, "未知的助贷资方, fundId : %s"),
UNKNOW_PRE_AUDIT_TYPE(3017, "助贷资方未知的撞库方式, fundId : %s, preAuditType : %s"),
USER_CONTACT_INFO_EMPTY(3018, "用户联系人方式为空, uuid : %s"),
USER_OCR_INFO_IS_EMPTY(3018, "用户OCR信息为空, uuid : %s"),
LIVE_DATA_ERROR(3019, "活体数据获取失败, uuid : %s"),
USER_LOAN_TYPE_IS_EMPTY(3021, "用户类型为空, uuid : %s");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment