|
@@ -100,9 +100,9 @@ public class TeacherCourseGroupController extends BaseController {
|
|
|
@ApiOperation("创建直播课程组-新增课程组")
|
|
|
@PostMapping("/addLiveCourse")
|
|
|
public HttpResponseResult<Object> addLiveCourse(@RequestBody LiveCourseGroupDto dto) {
|
|
|
- if (dto.getCoursePrice().compareTo(BigDecimal.ZERO) <= 0) {
|
|
|
- return failed("课程价格不能为0元");
|
|
|
- }
|
|
|
+// if (dto.getCoursePrice().compareTo(BigDecimal.ZERO) <= 0) {
|
|
|
+// return failed("课程价格不能为0元");
|
|
|
+// }
|
|
|
courseGroupService.addLiveCourse(dto);
|
|
|
return succeed();
|
|
|
}
|