Authored by DengXinFei

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

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