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