Commit 33defa75 by fudahua

会员关联提示

parent 18a4cd41
......@@ -275,8 +275,8 @@ public class StoreController extends WebBaseController{
//获取门店详情
@RequestMapping("/store-detail")
public HaobanResponse storeDetail(String storeId,String wxEnterpriseId,String staffId) {
if(StringUtils.isAnyBlank(storeId)){
public HaobanResponse storeDetail(String enterpriseId, String storeId, String wxEnterpriseId, String staffId) {
if(StringUtils.isAnyBlank(storeId)){
return resultResponse(HaoBanErrCode.ERR_2);
}
......@@ -315,6 +315,10 @@ public class StoreController extends WebBaseController{
}else{
vo.setMainStoreFlag(0);
}
WxEnterpriseRelationDetailDTO enterpriseBindInfo = wxEnterpriseRelatedApiService.getEnterpriseBindInfo(wxEnterpriseId, enterpriseId);
if (null != enterpriseBindInfo) {
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