Authored by qinchao

去掉不用method

... ... @@ -137,7 +137,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService {
SellerResp sellerResp = new SellerResp();
sellerResp.setZhiMaCert(isZhiMaCert);
sellerResp.setZhiMaCertWithPhoto(isZhiMaCertWithPhoto);//新的芝麻认证状态(带身份证图片)
sellerResp.setPhotoCheckExceedLimit(isPhotoCheckExceedLimit(uid));
//sellerResp.setPhotoCheckExceedLimit(isPhotoCheckExceedLimit(uid));
sellerResp.setStoredBefore(storedBefore);
if (storedBefore) {
sellerResp.setOverMaxJoinTimesTip("您已退出入驻,没有入驻资格!");
... ... @@ -277,7 +277,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService {
return null;
}
private boolean isPhotoCheckExceedLimit(int targetUid) {
/*private boolean isPhotoCheckExceedLimit(int targetUid) {
ApiResponse<Boolean> resp = ufoServiceCaller.call("ufo.user.photoCheckExceedLimit", ApiResponse.class, targetUid);
if (resp != null&&resp.getCode()==200) {
if (resp.getData() != null) {
... ... @@ -285,6 +285,6 @@ public class StoreSellerServiceImpl implements IStoredSellerService {
}
}
return false;
}
}*/
}
... ...
... ... @@ -3,11 +3,11 @@ package com.yohoufo.user.controller.passport;
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.utils.UserInfoHiddenHelper;
import com.yohoufo.dal.user.model.ZhiMaCert;
import com.yohoufo.user.common.IDCardUtils;
import com.yohoufo.common.constant.CertPhotoEnum;
import com.yohoufo.user.helper.HideDataUtil;
import com.yohoufo.user.requestVO.RealNameAuthorizeReqVO;
import com.yohoufo.user.service.IRealNameAuthorizeService;
... ... @@ -161,7 +161,7 @@ public class RealNameAuthorizeController {
return new ApiResponse(zhiMaCertInfo);
}
@RequestMapping(params = "method=ufo.user.photoCheckExceedLimit")
/*@RequestMapping(params = "method=ufo.user.photoCheckExceedLimit")
public ApiResponse photoCheckExceedLimit(@RequestParam("uid") Integer uid) throws GatewayException {
logger.info("enter realNameAuthorize.photoCheckExceedLimit param uid is {}", uid);
//(1) 优先校验请求的参数
... ... @@ -172,7 +172,7 @@ public class RealNameAuthorizeController {
boolean b =realNameAuthorizeService.isPhotoCheckExceedLimit(uid);
return new ApiResponse(b);
}
}*/
/**
* 6.9.1版本 ,上传身份证图片并校验
... ...
... ... @@ -25,7 +25,7 @@ public interface IRealNameAuthorizeService {
ZhiMaCert getValidZhiMaCert(int uid);
boolean isPhotoCheckExceedLimit(Integer uid);
//boolean isPhotoCheckExceedLimit(Integer uid);
Map<String,Object> zhiMaCertPhotoCheck(RealNameAuthorizeReqVO reqVO);
... ...
... ... @@ -353,10 +353,10 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService {
return dateString;
}
@Override
/*@Override
public boolean isPhotoCheckExceedLimit(Integer uid){
return isPhotoCheckExceedLimit(getStringDate("yyyyMMdd") ,uid);
}
}*/
private boolean isPhotoCheckExceedLimit(String dayStr ,Integer uid){
Long count = cacheService.getPhotoCheckCount(dayStr,uid);
... ...