‘linchangsheng’ il y a 3 semaines
Parent
commit
90891ded42

+ 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());