Browse Source

多小程序看课配置

zyp 5 ngày trước cách đây
mục cha
commit
eda10bbc0a

+ 1 - 1
fs-company-app/src/main/java/com/fs/app/controller/UserController.java

@@ -177,7 +177,7 @@ public class UserController extends AppBaseController {
                 throw new BaseException("此用户所属公司不存在或已停用");
             }
 
-            if (!company.getCourseMiniAppId().equals(param.getAppId())){
+            if (StringUtils.isNotEmpty(company.getCourseMiniAppId()) && !company.getCourseMiniAppId().equals(param.getAppId())){
                 return R.error("登录用户不属于该小程序");
             }