Commit 67e89fc7 by 墨竹

fix:导购id自己获取

parent eca2924e
...@@ -13,7 +13,6 @@ import com.gic.haoban.common.utils.HaobanResponse; ...@@ -13,7 +13,6 @@ import com.gic.haoban.common.utils.HaobanResponse;
import com.gic.haoban.manage.api.service.StaffApiService; import com.gic.haoban.manage.api.service.StaffApiService;
import com.gic.haoban.manage.web.errCode.HaoBanErrCode; import com.gic.haoban.manage.web.errCode.HaoBanErrCode;
import com.gic.redis.data.util.RedisUtil; import com.gic.redis.data.util.RedisUtil;
import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
...@@ -168,7 +167,7 @@ public class MaidianDataController extends WebBaseController { ...@@ -168,7 +167,7 @@ public class MaidianDataController extends WebBaseController {
@RequestMapping("/activite-date") @RequestMapping("/activite-date")
public HaobanResponse activiteDate(MemberAnalyzeParamsDTO paramsDTO) { public HaobanResponse activiteDate(MemberAnalyzeParamsDTO paramsDTO) {
paramsDTO.setWebFlag(1); paramsDTO.setWebFlag(1);
List<String> storeList = staffApiService.getHaoBanStoreIdsRolesByClerkId(paramsDTO.getClerkId(),AuthWebRequestUtil.getLoginUser().getWxEnterpriseId()); List<String> storeList = staffApiService.getHaoBanStoreIdsRolesByClerkId(AuthWebRequestUtil.getLoginUser().getClerkId(),AuthWebRequestUtil.getLoginUser().getWxEnterpriseId());
if(CollectionUtils.isEmpty(storeList)) { if(CollectionUtils.isEmpty(storeList)) {
return resultResponse(HaoBanErrCode.ERR_100007); return resultResponse(HaoBanErrCode.ERR_100007);
} }
......
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