Commit 93b5c123 by fudahua

登录信息

parent 74af1a38
......@@ -315,19 +315,6 @@ public class StoreController extends WebBaseController{
}else{
vo.setMainStoreFlag(0);
}
String mainStoreId = mainStore.getStoreId();
StoreDTO storeDTO = storeService.getStore(mainStoreId);
if (null == storeDTO) {
logger.info("该门店不存在");
return resultResponse(HaoBanErrCode.ERR_5);
}
WxEnterpriseRelationDetailDTO enterpriseBindInfo = wxEnterpriseRelatedApiService.getEnterpriseBindInfo(wxEnterpriseId, storeDTO.getEnterpriseId());
if (null == enterpriseBindInfo) {
logger.info("该企业未关联");
return resultResponse(HaoBanErrCode.ERR_5);
}
vo.setMemberOpenCardFlag(enterpriseBindInfo.getMemberOpenCardFlag());
return resultResponse(HaoBanErrCode.ERR_1, vo);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment