修复相关BUG

This commit is contained in:
lin
2025-11-04 11:22:03 +08:00
parent f8235d5b3f
commit 0eefabd034
10 changed files with 24 additions and 40 deletions

View File

@@ -100,7 +100,7 @@ public class StreamPushController {
@Operation(summary = "删除", security = @SecurityRequirement(name = JwtUtils.HEADER))
@Parameter(name = "id", description = "应用名", required = true)
public void delete(int id){
if (streamPushService.delete(id) > 0){
if (streamPushService.delete(id) <= 0){
throw new ControllerException(ErrorCode.ERROR100);
}
}