Authored by qinchao

fix

... ... @@ -271,6 +271,10 @@ public class RealNameAuthorizeController {
if(StringUtils.isBlank(reqVO.getFrontImageUrl())||StringUtils.isBlank(reqVO.getBackImageUrl())){
throw new GatewayException(400, "身份证正反面图片不能为空!");
}
if("null".equalsIgnoreCase(reqVO.getFrontImageUrl().trim()) ||"null".equalsIgnoreCase(reqVO.getBackImageUrl().trim())){
throw new GatewayException(400, "身份证照片不能为空!");
}
//重设图片为:http://yhgidcard.static.yhbimg.com/yohocard
reqVO.setFrontImageUrl(yohoCardUrlPre+reqVO.getFrontImageUrl());
... ...