mirror of
https://github.com/kerwincui/FastBee.git
synced 2025-10-05 08:08:06 +08:00
接口添加说明
This commit is contained in:
@@ -3,6 +3,7 @@ package com.fastbee.data.controller.media;
|
||||
import com.fastbee.common.core.controller.BaseController;
|
||||
import com.fastbee.common.core.domain.AjaxResult;
|
||||
import com.fastbee.sip.service.IPlayService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -12,6 +13,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@Slf4j
|
||||
@Api(tags = "播放器")
|
||||
@RestController
|
||||
@RequestMapping("/sip/player")
|
||||
public class PlayerController extends BaseController {
|
||||
|
@@ -5,6 +5,7 @@ import com.fastbee.sip.enums.Direct;
|
||||
import com.fastbee.sip.model.PtzDirectionInput;
|
||||
import com.fastbee.sip.model.PtzscaleInput;
|
||||
import com.fastbee.sip.service.IPtzCmdService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -13,6 +14,7 @@ import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@Slf4j
|
||||
@RestController
|
||||
@Api(tags = "云台控制")
|
||||
@RequestMapping("/sip/ptz")
|
||||
public class PtzController {
|
||||
@Autowired
|
||||
|
@@ -2,6 +2,7 @@ package com.fastbee.data.controller.media;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.fastbee.sip.service.IZmlHookService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -10,6 +11,7 @@ import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@Slf4j
|
||||
@Api(tags = "流媒体Hook")
|
||||
@RestController
|
||||
@RequestMapping("/zlmhook")
|
||||
public class ZmlHookController
|
||||
|
Reference in New Issue
Block a user