|
|
@@ -192,6 +192,21 @@ public class ApisFsUserCourseVideoController extends BaseController {
|
|
|
if (qwUser==null||qwUser.getCompanyId()==null){
|
|
|
return R.error("无权限");
|
|
|
}
|
|
|
+
|
|
|
+ if (param.getCourseId()==null){
|
|
|
+ return R.error("课程id不能为空");
|
|
|
+ }
|
|
|
+ if (param.getVideoId()==null){
|
|
|
+ return R.error("视频id不能为空");
|
|
|
+ }
|
|
|
+ if (StringUtil.strIsNullOrEmpty(param.getQwUserId())){
|
|
|
+ return R.error("用户id不能为空");
|
|
|
+ }
|
|
|
+ if (StringUtil.strIsNullOrEmpty(param.getCorpId())){
|
|
|
+ return R.error("企业id不能为空");
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
return fsUserCourseVideoService.createRoomMiniLink(param);
|
|
|
}
|
|
|
|