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