修复通道共享的BUG以及增加通道手动推送的功能

This commit is contained in:
648540858
2024-08-28 16:04:48 +08:00
parent dd794d4868
commit 64e9b6674f
11 changed files with 198 additions and 228 deletions

View File

@@ -359,4 +359,13 @@ public class PlatformController {
throw new ControllerException(ErrorCode.ERROR100);
}
}
@Operation(summary = "推送通道", security = @SecurityRequirement(name = JwtUtils.HEADER))
@Parameter(name = "id", description = "平台ID", required = true)
@GetMapping("/channel/push")
@ResponseBody
public void pushChannel(Integer id) {
Assert.notNull(id, "平台ID不可为空");
platformChannelService.pushChannel(id);
}
}