...
|
...
|
@@ -53,8 +53,8 @@ public class StoreSellerServiceImpl implements IStoredSellerService { |
|
|
StoredSellerCacheService storedSellerCacheService;
|
|
|
|
|
|
|
|
|
@Value("${zhimacert.switch:true}")
|
|
|
private boolean zhiMaCertSwitch;
|
|
|
//@Value("${zhimacert.switch:true}")
|
|
|
//private boolean zhiMaCertSwitch;
|
|
|
|
|
|
@Autowired
|
|
|
private SellerService sellerService;
|
...
|
...
|
@@ -124,6 +124,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService { |
|
|
logger.info("StoredSellerServiceImpl entryStatus uid is {} ",uid);
|
|
|
Boolean isZhiMaCert=false;
|
|
|
ZhiMaCert zhiMaCert = null;
|
|
|
/*
|
|
|
if(zhiMaCertSwitch){
|
|
|
zhiMaCert = getZhiMaCertInfo(uid);
|
|
|
if(null != zhiMaCert){
|
...
|
...
|
@@ -132,6 +133,11 @@ public class StoreSellerServiceImpl implements IStoredSellerService { |
|
|
}else{
|
|
|
isZhiMaCert = true;
|
|
|
}
|
|
|
*/
|
|
|
zhiMaCert = getZhiMaCertInfo(uid);
|
|
|
if(null != zhiMaCert){
|
|
|
isZhiMaCert = true;
|
|
|
}
|
|
|
|
|
|
Boolean isZhiMaCertWithPhoto = false ;
|
|
|
if(zhiMaCert!=null&&1==zhiMaCert.getValidPhoto()){
|
...
|
...
|
@@ -246,10 +252,10 @@ public class StoreSellerServiceImpl implements IStoredSellerService { |
|
|
|
|
|
int breakZhiMaCert=0;
|
|
|
//芝麻认证没开启,并且没有认证
|
|
|
if(!zhiMaCertSwitch&&zhiMaCert==null){
|
|
|
/*if(!zhiMaCertSwitch&&zhiMaCert==null){
|
|
|
zhiMaCert = new ZhiMaCert();
|
|
|
breakZhiMaCert=1;
|
|
|
}
|
|
|
}*/
|
|
|
|
|
|
if(null == zhiMaCert){
|
|
|
logger.error("StoredSellerServiceImpl get zhi ma cert info is null , uid is {} ",uid);
|
...
|
...
|
|