Authored by qinchao

新接口 :认证进程状态2

@@ -55,12 +55,16 @@ public class StoreSellerServiceImpl implements IStoredSellerService { @@ -55,12 +55,16 @@ public class StoreSellerServiceImpl implements IStoredSellerService {
55 public Map<String,Boolean> entryStatus(Integer uid){ 55 public Map<String,Boolean> entryStatus(Integer uid){
56 logger.info("StoredSellerServiceImpl entryStatus uid is {} ",uid); 56 logger.info("StoredSellerServiceImpl entryStatus uid is {} ",uid);
57 Boolean isZhiMaCert=false; 57 Boolean isZhiMaCert=false;
58 - Boolean isStoredSeller=false;  
59 ZhiMaCert zhiMaCert = getZhiMaCertInfo(uid); 58 ZhiMaCert zhiMaCert = getZhiMaCertInfo(uid);
60 if(null != zhiMaCert){ 59 if(null != zhiMaCert){
61 isZhiMaCert = true; 60 isZhiMaCert = true;
62 - //只有芝麻认证通过了,才去判断是否入驻商户  
63 - isStoredSeller = this.isStoredSeller(uid); 61 + }
  62 +
  63 + //只有芝麻认证通过了,才去判断是否入驻商户
  64 + Boolean isStoredSeller = this.isStoredSeller(uid);
  65 + if(!isZhiMaCert && isStoredSeller){
  66 + //这种状态是不合理的,打个日志
  67 + logger.error("StoredSellerServiceImpl entryStatus not correct status isZhiMaCert = false ,but isStoredSeller = true ,uid is {} ",uid);
64 } 68 }
65 69
66 Map<String,Boolean> map=new HashMap<>(); 70 Map<String,Boolean> map=new HashMap<>();