修复编译报错

This commit is contained in:
ShiQi 2025-12-30 11:22:07 +08:00
parent f6a6a59a32
commit 05b23b7a3b

View File

@ -12,6 +12,7 @@ import com.zbkj.service.service.LiveRoomService;
import com.zbkj.service.service.LiveChatService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.validation.annotation.Validated;
@ -23,6 +24,7 @@ import java.util.Collections;
import java.util.Map;
import java.util.stream.Collectors;
@Slf4j
@RestController
@RequestMapping("api/front/live")
@Api(tags = "直播 -- 房间")
@ -261,9 +263,6 @@ public class LiveRoomController {
// ========== 关注主播接口 ==========
@Autowired
private com.zbkj.service.service.FollowRecordService followRecordService;
@ApiOperation(value = "开始直播")
@PostMapping("/room/{id}/start")
public CommonResult<Map<String, Object>> startLive(@PathVariable Integer id) {