|
@@ -1451,7 +1451,7 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
//读取配置给前端返回
|
|
|
String json = sysConfigService.selectConfigByKey("course.config");
|
|
|
CourseConfig config = JSONUtil.toBean(json, CourseConfig.class);
|
|
|
- if (user.getNickname()!=null){
|
|
|
+ if (StringUtils.isEmpty(user.getNickname())){
|
|
|
Map<String,Object> map = new HashMap<>();
|
|
|
map.put("authType",config.getMiniAppAuthType());
|
|
|
if (config.getMiniAppAuthType()==2){
|