|
@@ -144,7 +144,11 @@ public class ApisFsUserCourseVideoController extends BaseController {
|
|
return R.error("客户id不能为空");
|
|
return R.error("客户id不能为空");
|
|
}
|
|
}
|
|
|
|
|
|
- return fsUserCourseVideoService.createCartLink(param);
|
|
|
|
|
|
+ if (param.getType()==null || param.getType()==1){
|
|
|
|
+ return fsUserCourseVideoService.createCartLink(param);
|
|
|
|
+ }else {
|
|
|
|
+ return fsUserCourseVideoService.createMiniLink(param);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
@GetMapping("/createRoomLink")
|
|
@GetMapping("/createRoomLink")
|