‘linchangsheng’ 3 weeks ago
parent
commit
90891ded42
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/main/java/com/gree/mall/manager/logic/goods/GoodsLogic.java

+ 1 - 3
src/main/java/com/gree/mall/manager/logic/goods/GoodsLogic.java

@@ -571,9 +571,7 @@ public class GoodsLogic {
 
         //设置企业微信id
         AdminUserCom adminUser = commonLogic.getAdminUser(request);
-        if (StringUtils.isEmpty(adminUser.getLoginCompanyWechatId())) {
-            throw new RemoteServiceException("无效微信企业id");
-        }
+
         goodsBean.setCompanyWechatId(adminUser.getLoginCompanyWechatId());
         goodsBean.setCompanyName(adminUser.getLoginCompanyName());