|
|
|
@ -1234,7 +1234,8 @@ public class RiskBusinessServiceImpl implements RiskBusinessService, ManagerTodo
|
|
|
|
|
@Override
|
|
|
|
|
public JSONObject riskEventMaterialPass(JSONObject params, JSONObject manager) {
|
|
|
|
|
Integer resultType = params.getInteger("result_type");
|
|
|
|
|
if (!resultType.equals(RiskResultTypeEnum.WAIT_FOR_AUDIT.getResultType())) {
|
|
|
|
|
//有些商户会直接回复邮件,未通过平台渠道
|
|
|
|
|
if (!resultType.equals(RiskResultTypeEnum.WAIT_FOR_AUDIT.getResultType()) && !resultType.equals(RiskResultTypeEnum.SEND_EMAIL_TO_BD.getResultType())) {
|
|
|
|
|
throw new BadRequestException("Can't Pass");
|
|
|
|
|
}
|
|
|
|
|
params.put("result_type", RiskResultTypeEnum.MATERIAL_AUDIT_PASS.getResultType());
|
|
|
|
|