修复参数名称
parent
8377d4a1c7
commit
f6157cc42c
|
@ -112,7 +112,7 @@ public class StreamPushController {
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@Operation(summary = "中止一个推流", security = @SecurityRequirement(name = JwtUtils.HEADER))
|
@Operation(summary = "中止一个推流", security = @SecurityRequirement(name = JwtUtils.HEADER))
|
||||||
@Parameter(name = "app", description = "应用名", required = true)
|
@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){
|
public void stop(String app, String streamId){
|
||||||
if (!streamPushService.stop(app, streamId)){
|
if (!streamPushService.stop(app, streamId)){
|
||||||
throw new ControllerException(ErrorCode.ERROR100);
|
throw new ControllerException(ErrorCode.ERROR100);
|
||||||
|
|
Loading…
Reference in New Issue