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

修复参数名称
pull/1492/head
Iwan Lebron 2024-06-10 09:19:16 +08:00 committed by GitHub
commit 5bc3a71764
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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