Showing
4 changed files
with
9 additions
and
9 deletions
@@ -137,7 +137,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService { | @@ -137,7 +137,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService { | ||
137 | SellerResp sellerResp = new SellerResp(); | 137 | SellerResp sellerResp = new SellerResp(); |
138 | sellerResp.setZhiMaCert(isZhiMaCert); | 138 | sellerResp.setZhiMaCert(isZhiMaCert); |
139 | sellerResp.setZhiMaCertWithPhoto(isZhiMaCertWithPhoto);//新的芝麻认证状态(带身份证图片) | 139 | sellerResp.setZhiMaCertWithPhoto(isZhiMaCertWithPhoto);//新的芝麻认证状态(带身份证图片) |
140 | - sellerResp.setPhotoCheckExceedLimit(isPhotoCheckExceedLimit(uid)); | 140 | + //sellerResp.setPhotoCheckExceedLimit(isPhotoCheckExceedLimit(uid)); |
141 | sellerResp.setStoredBefore(storedBefore); | 141 | sellerResp.setStoredBefore(storedBefore); |
142 | if (storedBefore) { | 142 | if (storedBefore) { |
143 | sellerResp.setOverMaxJoinTimesTip("您已退出入驻,没有入驻资格!"); | 143 | sellerResp.setOverMaxJoinTimesTip("您已退出入驻,没有入驻资格!"); |
@@ -277,7 +277,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService { | @@ -277,7 +277,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService { | ||
277 | return null; | 277 | return null; |
278 | } | 278 | } |
279 | 279 | ||
280 | - private boolean isPhotoCheckExceedLimit(int targetUid) { | 280 | + /*private boolean isPhotoCheckExceedLimit(int targetUid) { |
281 | ApiResponse<Boolean> resp = ufoServiceCaller.call("ufo.user.photoCheckExceedLimit", ApiResponse.class, targetUid); | 281 | ApiResponse<Boolean> resp = ufoServiceCaller.call("ufo.user.photoCheckExceedLimit", ApiResponse.class, targetUid); |
282 | if (resp != null&&resp.getCode()==200) { | 282 | if (resp != null&&resp.getCode()==200) { |
283 | if (resp.getData() != null) { | 283 | if (resp.getData() != null) { |
@@ -285,6 +285,6 @@ public class StoreSellerServiceImpl implements IStoredSellerService { | @@ -285,6 +285,6 @@ public class StoreSellerServiceImpl implements IStoredSellerService { | ||
285 | } | 285 | } |
286 | } | 286 | } |
287 | return false; | 287 | return false; |
288 | - } | 288 | + }*/ |
289 | 289 | ||
290 | } | 290 | } |
@@ -3,11 +3,11 @@ package com.yohoufo.user.controller.passport; | @@ -3,11 +3,11 @@ package com.yohoufo.user.controller.passport; | ||
3 | 3 | ||
4 | import com.yoho.tools.common.beans.ApiResponse; | 4 | import com.yoho.tools.common.beans.ApiResponse; |
5 | import com.yohobuy.ufo.model.user.resp.AuthorizeResultRespVO; | 5 | import com.yohobuy.ufo.model.user.resp.AuthorizeResultRespVO; |
6 | +import com.yohoufo.common.constant.CertPhotoEnum; | ||
6 | import com.yohoufo.common.exception.GatewayException; | 7 | import com.yohoufo.common.exception.GatewayException; |
7 | import com.yohoufo.common.utils.UserInfoHiddenHelper; | 8 | import com.yohoufo.common.utils.UserInfoHiddenHelper; |
8 | import com.yohoufo.dal.user.model.ZhiMaCert; | 9 | import com.yohoufo.dal.user.model.ZhiMaCert; |
9 | import com.yohoufo.user.common.IDCardUtils; | 10 | import com.yohoufo.user.common.IDCardUtils; |
10 | -import com.yohoufo.common.constant.CertPhotoEnum; | ||
11 | import com.yohoufo.user.helper.HideDataUtil; | 11 | import com.yohoufo.user.helper.HideDataUtil; |
12 | import com.yohoufo.user.requestVO.RealNameAuthorizeReqVO; | 12 | import com.yohoufo.user.requestVO.RealNameAuthorizeReqVO; |
13 | import com.yohoufo.user.service.IRealNameAuthorizeService; | 13 | import com.yohoufo.user.service.IRealNameAuthorizeService; |
@@ -161,7 +161,7 @@ public class RealNameAuthorizeController { | @@ -161,7 +161,7 @@ public class RealNameAuthorizeController { | ||
161 | return new ApiResponse(zhiMaCertInfo); | 161 | return new ApiResponse(zhiMaCertInfo); |
162 | } | 162 | } |
163 | 163 | ||
164 | - @RequestMapping(params = "method=ufo.user.photoCheckExceedLimit") | 164 | + /*@RequestMapping(params = "method=ufo.user.photoCheckExceedLimit") |
165 | public ApiResponse photoCheckExceedLimit(@RequestParam("uid") Integer uid) throws GatewayException { | 165 | public ApiResponse photoCheckExceedLimit(@RequestParam("uid") Integer uid) throws GatewayException { |
166 | logger.info("enter realNameAuthorize.photoCheckExceedLimit param uid is {}", uid); | 166 | logger.info("enter realNameAuthorize.photoCheckExceedLimit param uid is {}", uid); |
167 | //(1) 优先校验请求的参数 | 167 | //(1) 优先校验请求的参数 |
@@ -172,7 +172,7 @@ public class RealNameAuthorizeController { | @@ -172,7 +172,7 @@ public class RealNameAuthorizeController { | ||
172 | boolean b =realNameAuthorizeService.isPhotoCheckExceedLimit(uid); | 172 | boolean b =realNameAuthorizeService.isPhotoCheckExceedLimit(uid); |
173 | 173 | ||
174 | return new ApiResponse(b); | 174 | return new ApiResponse(b); |
175 | - } | 175 | + }*/ |
176 | 176 | ||
177 | /** | 177 | /** |
178 | * 6.9.1版本 ,上传身份证图片并校验 | 178 | * 6.9.1版本 ,上传身份证图片并校验 |
@@ -25,7 +25,7 @@ public interface IRealNameAuthorizeService { | @@ -25,7 +25,7 @@ public interface IRealNameAuthorizeService { | ||
25 | 25 | ||
26 | ZhiMaCert getValidZhiMaCert(int uid); | 26 | ZhiMaCert getValidZhiMaCert(int uid); |
27 | 27 | ||
28 | - boolean isPhotoCheckExceedLimit(Integer uid); | 28 | + //boolean isPhotoCheckExceedLimit(Integer uid); |
29 | 29 | ||
30 | Map<String,Object> zhiMaCertPhotoCheck(RealNameAuthorizeReqVO reqVO); | 30 | Map<String,Object> zhiMaCertPhotoCheck(RealNameAuthorizeReqVO reqVO); |
31 | 31 |
@@ -353,10 +353,10 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { | @@ -353,10 +353,10 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { | ||
353 | return dateString; | 353 | return dateString; |
354 | } | 354 | } |
355 | 355 | ||
356 | - @Override | 356 | + /*@Override |
357 | public boolean isPhotoCheckExceedLimit(Integer uid){ | 357 | public boolean isPhotoCheckExceedLimit(Integer uid){ |
358 | return isPhotoCheckExceedLimit(getStringDate("yyyyMMdd") ,uid); | 358 | return isPhotoCheckExceedLimit(getStringDate("yyyyMMdd") ,uid); |
359 | - } | 359 | + }*/ |
360 | 360 | ||
361 | private boolean isPhotoCheckExceedLimit(String dayStr ,Integer uid){ | 361 | private boolean isPhotoCheckExceedLimit(String dayStr ,Integer uid){ |
362 | Long count = cacheService.getPhotoCheckCount(dayStr,uid); | 362 | Long count = cacheService.getPhotoCheckCount(dayStr,uid); |
-
Please register or login to post a comment