Merge pull request #1 from iwanlebron/iwanlebron-patch-1

修复参数名称
This commit is contained in:
Iwan Lebron
2024-06-10 09:19:16 +08:00
committed by GitHub

View File

@@ -112,7 +112,7 @@ public class StreamPushController {
@ResponseBody
@Operation(summary = "中止一个推流", security = @SecurityRequirement(name = JwtUtils.HEADER))
@Parameter(name = "app", description = "应用名", required = true)
@Parameter(name = "stream", description = "流id", required = true)
@Parameter(name = "streamId", description = "流id", required = true)
public void stop(String app, String streamId){
if (!streamPushService.stop(app, streamId)){
throw new ControllerException(ErrorCode.ERROR100);