|
|
@@ -327,9 +327,6 @@ public class FsUserCourseVideoController extends AppBaseController {
|
|
|
@ApiOperation("会员批量发送课程消息")
|
|
|
@PostMapping("/batchSendCourse")
|
|
|
public OpenImResponseDTO batchSendCourse(@RequestBody BatchSendCourseDTO batchSendCourseDTO) throws JsonProcessingException {
|
|
|
- if (CollectionUtils.isEmpty(batchSendCourseDTO.getUserIds())){
|
|
|
- throw new RuntimeException("请选择会员信息!!");
|
|
|
- }
|
|
|
// 生成看课短链
|
|
|
FsCourseLinkCreateParam fsCourseLinkCreateParam = new FsCourseLinkCreateParam();
|
|
|
BeanUtils.copyProperties(batchSendCourseDTO, fsCourseLinkCreateParam);
|