@@ -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("登录用户不属于该小程序");