fix: 修复了break问题
This commit is contained in:
@@ -371,6 +371,10 @@ public class VideoStreamController : ControllerBase
|
||||
/// </summary>
|
||||
/// <returns>初始化结果</returns>
|
||||
[HttpPost("InitAutoFocus")]
|
||||
[EnableCors("Users")]
|
||||
[ProducesResponseType(typeof(object), StatusCodes.Status200OK)]
|
||||
[ProducesResponseType(typeof(object), StatusCodes.Status400BadRequest)]
|
||||
[ProducesResponseType(typeof(string), StatusCodes.Status500InternalServerError)]
|
||||
public async Task<IResult> InitAutoFocus()
|
||||
{
|
||||
try
|
||||
@@ -412,6 +416,10 @@ public class VideoStreamController : ControllerBase
|
||||
/// </summary>
|
||||
/// <returns>对焦结果</returns>
|
||||
[HttpPost("AutoFocus")]
|
||||
[EnableCors("Users")]
|
||||
[ProducesResponseType(typeof(object), StatusCodes.Status200OK)]
|
||||
[ProducesResponseType(typeof(object), StatusCodes.Status400BadRequest)]
|
||||
[ProducesResponseType(typeof(string), StatusCodes.Status500InternalServerError)]
|
||||
public async Task<IResult> AutoFocus()
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user