|
@@ -546,8 +546,8 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
CourseConfig config = JSONUtil.toBean(json, CourseConfig.class);
|
|
CourseConfig config = JSONUtil.toBean(json, CourseConfig.class);
|
|
|
|
|
|
|
|
|
|
|
|
|
- //服务号授权的,缺mpOpenId的重新登录
|
|
|
|
|
- if (config.getMiniAppAuthType()==2 && StringUtil.strIsNullOrEmpty(fsUser.getMpOpenId())){
|
|
|
|
|
|
|
+ //服务号授权的,缺mpOpenId的重新登录 linkType = 4为app看课 不需要mp
|
|
|
|
|
+ if (param.getLinkType() != 4 && config.getMiniAppAuthType()==2 && StringUtil.strIsNullOrEmpty(fsUser.getMpOpenId())){
|
|
|
return R.error(401,"授权后可继续!");
|
|
return R.error(401,"授权后可继续!");
|
|
|
}
|
|
}
|
|
|
|
|
|