修复编译报错
This commit is contained in:
parent
f6a6a59a32
commit
05b23b7a3b
|
|
@ -12,6 +12,7 @@ import com.zbkj.service.service.LiveRoomService;
|
||||||
import com.zbkj.service.service.LiveChatService;
|
import com.zbkj.service.service.LiveChatService;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
|
@ -23,6 +24,7 @@ import java.util.Collections;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
|
@Slf4j
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("api/front/live")
|
@RequestMapping("api/front/live")
|
||||||
@Api(tags = "直播 -- 房间")
|
@Api(tags = "直播 -- 房间")
|
||||||
|
|
@ -261,9 +263,6 @@ public class LiveRoomController {
|
||||||
|
|
||||||
// ========== 关注主播接口 ==========
|
// ========== 关注主播接口 ==========
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private com.zbkj.service.service.FollowRecordService followRecordService;
|
|
||||||
|
|
||||||
@ApiOperation(value = "开始直播")
|
@ApiOperation(value = "开始直播")
|
||||||
@PostMapping("/room/{id}/start")
|
@PostMapping("/room/{id}/start")
|
||||||
public CommonResult<Map<String, Object>> startLive(@PathVariable Integer id) {
|
public CommonResult<Map<String, Object>> startLive(@PathVariable Integer id) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user