调整参数名称

This commit is contained in:
648540858
2024-06-17 10:08:09 +08:00
parent b1d9ea8082
commit 1909c7f71f
3 changed files with 12 additions and 12 deletions

View File

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