Authored by qinchao

remove useless

@@ -47,10 +47,6 @@ public class StoreSellerServiceImpl implements IStoredSellerService { @@ -47,10 +47,6 @@ public class StoreSellerServiceImpl implements IStoredSellerService {
47 @Autowired 47 @Autowired
48 StoredSellerCacheService storedSellerCacheService; 48 StoredSellerCacheService storedSellerCacheService;
49 49
50 -  
51 - //@Value("${zhimacert.switch:true}")  
52 - //private boolean zhiMaCertSwitch;  
53 -  
54 @Autowired 50 @Autowired
55 private SellerService sellerService; 51 private SellerService sellerService;
56 52
@@ -98,16 +94,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService { @@ -98,16 +94,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService {
98 logger.info("StoredSellerServiceImpl entryStatus uid is {} ",uid); 94 logger.info("StoredSellerServiceImpl entryStatus uid is {} ",uid);
99 Boolean isZhiMaCert=false; 95 Boolean isZhiMaCert=false;
100 ZhiMaCert zhiMaCert = null; 96 ZhiMaCert zhiMaCert = null;
101 - /*  
102 - if(zhiMaCertSwitch){  
103 - zhiMaCert = getZhiMaCertInfo(uid);  
104 - if(null != zhiMaCert){  
105 - isZhiMaCert = true;  
106 - }  
107 - }else{  
108 - isZhiMaCert = true;  
109 - }  
110 - */ 97 +
111 zhiMaCert = getZhiMaCertInfo(uid); 98 zhiMaCert = getZhiMaCertInfo(uid);
112 if(null != zhiMaCert){ 99 if(null != zhiMaCert){
113 isZhiMaCert = true; 100 isZhiMaCert = true;
@@ -254,11 +241,6 @@ public class StoreSellerServiceImpl implements IStoredSellerService { @@ -254,11 +241,6 @@ public class StoreSellerServiceImpl implements IStoredSellerService {
254 ZhiMaCert zhiMaCert = getZhiMaCertInfo(uid); 241 ZhiMaCert zhiMaCert = getZhiMaCertInfo(uid);
255 242
256 int breakZhiMaCert=0; 243 int breakZhiMaCert=0;
257 - //芝麻认证没开启,并且没有认证  
258 - /*if(!zhiMaCertSwitch&&zhiMaCert==null){  
259 - zhiMaCert = new ZhiMaCert();  
260 - breakZhiMaCert=1;  
261 - }*/  
262 244
263 if(null == zhiMaCert){ 245 if(null == zhiMaCert){
264 logger.error("StoredSellerServiceImpl get zhi ma cert info is null , uid is {} ",uid); 246 logger.error("StoredSellerServiceImpl get zhi ma cert info is null , uid is {} ",uid);
@@ -309,14 +291,4 @@ public class StoreSellerServiceImpl implements IStoredSellerService { @@ -309,14 +291,4 @@ public class StoreSellerServiceImpl implements IStoredSellerService {
309 return null; 291 return null;
310 } 292 }
311 293
312 - /*private boolean isPhotoCheckExceedLimit(int targetUid) {  
313 - ApiResponse<Boolean> resp = ufoServiceCaller.call("ufo.user.photoCheckExceedLimit", ApiResponse.class, targetUid);  
314 - if (resp != null&&resp.getCode()==200) {  
315 - if (resp.getData() != null) {  
316 - return (Boolean)resp.getData();  
317 - }  
318 - }  
319 - return false;  
320 - }*/  
321 -  
322 } 294 }
@@ -70,11 +70,6 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { @@ -70,11 +70,6 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService {
70 @Autowired 70 @Autowired
71 private CertPhotoSwitchComponent certPhotoSwitchComponent; 71 private CertPhotoSwitchComponent certPhotoSwitchComponent;
72 72
73 -  
74 -  
75 - //@Value("${zhimacert.switch:true}")  
76 - //private boolean zhiMaCertSwitch;  
77 -  
78 @Autowired 73 @Autowired
79 private ConfigReader configReader; 74 private ConfigReader configReader;
80 75
@@ -280,11 +275,6 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { @@ -280,11 +275,6 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService {
280 } 275 }
281 276
282 public boolean isValidZhiMaCert(int uid){ 277 public boolean isValidZhiMaCert(int uid){
283 - //如果芝麻认知没有开启,默认芝麻认证通过  
284 - /*if(!zhiMaCertSwitch){  
285 - return true;  
286 - }*/  
287 -  
288 //否则,从db查询认证信息 278 //否则,从db查询认证信息
289 if(null!=this.getValidZhiMaCert(uid)){ 279 if(null!=this.getValidZhiMaCert(uid)){
290 return true; 280 return true;