修复参数名称

This commit is contained in:
Iwan Lebron
2024-06-10 09:18:37 +08:00
committed by GitHub
parent 8377d4a1c7
commit f6157cc42c

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);