修复通道共享的BUG以及增加通道手动推送的功能
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user