|
@@ -145,20 +145,22 @@ public class ApisFsUserCourseVideoController extends BaseController {
|
|
|
|
|
|
if (param.getType()==null || param.getType()==1){
|
|
|
return fsUserCourseVideoService.createCartLink(param);
|
|
|
- }else {
|
|
|
+ }else if (param.getType()==2){
|
|
|
return fsUserCourseVideoService.createMiniLink(param);
|
|
|
+ } else {
|
|
|
+ return fsUserCourseVideoService.createRoomMiniLink(param);
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
@GetMapping("/createRoomLink")
|
|
|
@ApiOperation("创建发群链接")
|
|
|
- public R createRoomLink(FsCourseLinkRoomParam param) {
|
|
|
+ public R createRoomLink(FsCourseLinkMiniParam param) {
|
|
|
QwUser qwUser = qwExternalContactService.getQwUserByRedis(param.getCorpId().trim(),param.getQwUserId().trim());
|
|
|
if (qwUser==null||qwUser.getCompanyId()==null){
|
|
|
return R.error("无权限");
|
|
|
}
|
|
|
- return courseLinkService.createRoomLink(param, qwUser);
|
|
|
+ return fsUserCourseVideoService.createRoomMiniLink(param);
|
|
|
}
|
|
|
|
|
|
}
|