Преглед изворни кода

update companyApp临时处理登录

ct пре 19 часа
родитељ
комит
11e67f3ca2

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

@@ -177,10 +177,10 @@ public class UserController extends AppBaseController {
             if (company == null || company.getStatus() == 0 || company.getIsDel() == 1) {
                 throw new BaseException("此用户所属公司不存在或已停用");
             }
-
-            if (StringUtils.isNotEmpty(company.getCourseMiniAppId()) && !company.getCourseMiniAppId().equals(param.getAppid())){
-                return R.error("登录用户不属于该小程序");
-            }
+            //// todo 飞书发课需要登录 临时处理
+//            if (StringUtils.isNotEmpty(company.getCourseMiniAppId()) && !company.getCourseMiniAppId().equals(param.getAppid())){
+//                return R.error("登录用户不属于该小程序");
+//            }
 
             // 公司名称
             companyUser.setCompanyName(company.getCompanyName());