Authored by DengXinFei

提示升级不需要判断版本,判断也没用问题。

... ... @@ -171,7 +171,7 @@ public class RealNameAuthorizeController {
public ApiResponse zhiMaCertWithPhotoCheckInit(RealNameAuthorizeReqVO reqVO) throws GatewayException {
logger.info("enter realNameAuthorize.zhiMaCertWithPhotoCheckInit param reqVO is {}", reqVO);
//若版本低于6.9.9提示升级版本
if(configReader.getBoolean("ufo.user.idCertUpdateVersionSwitch",false) && compareVersion(reqVO.getApp_version(), "6.9.9") < 0 ){
if(configReader.getBoolean("ufo.user.idCertUpdateVersionSwitch",false)){
logger.info("realNameAuthorize.zhiMaCertWithPhotoCheckInit: version need update, version is {}, uid is {}", reqVO.getApp_version(), reqVO.getUid());
throw new GatewayException(400, "支付宝实名认证服务已升级,请升级有货APP最新版本后重新申请");
}
... ... @@ -262,7 +262,7 @@ public class RealNameAuthorizeController {
logger.info("enter realNameAuthorize.zhiMaCertResultQuery param reqVO is {}", reqVO);
//若版本低于6.9.9提示升级版本
if(configReader.getBoolean("ufo.user.idCertUpdateVersionSwitch",false) && compareVersion(reqVO.getApp_version(), "6.9.9") < 0 ){
if(configReader.getBoolean("ufo.user.idCertUpdateVersionSwitch",false)){
logger.info("realNameAuthorize.zhiMaCertResultQuery: version need update, version is {}, uid is {}", reqVO.getApp_version(), reqVO.getUid());
throw new GatewayException(400, "支付宝实名认证服务已升级,请升级有货APP最新版本后重新申请");
}
... ...
... ... @@ -42,4 +42,4 @@ ufo.order.seller.noticeHKSellerEmailTo=chao.chen@yoho.cn,xiuchun.luo@yoho.cn
ufo.user.idCertSwitch=false
#实名认证提示版本升级开关
ufo.user.idCertUpdateVersionSwitch = false
\ No newline at end of file
ufo.user.idCertUpdateVersionSwitch = true
\ No newline at end of file
... ...