Commit 4c852d9c by 墨竹

fix:提示报错

parent ee104202
......@@ -669,6 +669,9 @@ public class ClerkController extends WebBaseController {
if (StringUtils.isAnyBlank(staffId, wxEnterpriseId, keyword)) {
return resultResponse(HaoBanErrCode.ERR_2);
}
if ("-1".equals(staffId)) {
return resultResponse(HaoBanErrCode.ERR_400022);
}
List<EnterpriseDetailDTO> list = wxEnterpriseRelatedApiService.listEnterpriseByWxEnterpriseId(wxEnterpriseId);
if (list == null || list.isEmpty()) {
return resultResponse(HaoBanErrCode.ERR_1);
......
......@@ -95,6 +95,7 @@ public enum HaoBanErrCode {
ERR_400019(400019, "门店面积不合法"),
ERR_400020(400020, "门店图片不能为空"),
ERR_400021(400021, "您还未绑定主门店,请前往好办-我的-设置中操作设为主门店"),
ERR_400022(400022, " 抱歉,您的企业还未和GIC系统关联,无法查找到对应的导购账号"),
/**
* 文件不存在
......
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