Authored by qinchao

路径url

... ... @@ -5,6 +5,7 @@ import com.yoho.tools.common.beans.ApiResponse;
import com.yohobuy.ufo.model.user.resp.AuthorizeResultRespVO;
import com.yohoufo.common.constant.CertPhotoEnum;
import com.yohoufo.common.exception.GatewayException;
import com.yohoufo.common.helper.ImageUrlAssist;
import com.yohoufo.common.utils.UserInfoHiddenHelper;
import com.yohoufo.dal.user.model.ZhiMaCert;
import com.yohoufo.user.common.IDCardUtils;
... ... @@ -268,6 +269,9 @@ public class RealNameAuthorizeController {
if(StringUtils.isBlank(reqVO.getFrontImageUrl())||StringUtils.isBlank(reqVO.getBackImageUrl())){
throw new GatewayException(400, "身份证正反面图片不能为空!");
}
//重设图片为:http://
reqVO.setFrontImageUrl(ImageUrlAssist.getAllProductPicUrl(reqVO.getFrontImageUrl(), "yohocard", "center", "d2hpdGU="));
reqVO.setBackImageUrl(ImageUrlAssist.getAllProductPicUrl(reqVO.getBackImageUrl(), "yohocard", "center", "d2hpdGU="));
//调用芝麻,得到回调url
AuthorizeResultRespVO resultVo=realNameAuthorizeService.zhiMaCertWithPhotoInit(reqVO,true);
... ...