fix: close admin channel test sms loop

This commit is contained in:
hectorzhao
2026-07-09 11:49:20 +08:00
parent a4a638208e
commit c58a010951
12 changed files with 582 additions and 17 deletions
+3 -2
View File
@@ -13,6 +13,7 @@ import {
CreateReportMaterialDto,
CreateReportTaskDto,
CreateRouteRuleDto,
TestChannelDto,
UpsertConnectionStateDto,
UpdateChannelDto,
UpdateChannelGroupDto,
@@ -39,8 +40,8 @@ export class ChannelsController {
}
@Post('channels/:id/test')
testChannel(@Param('id') channelId: string) {
return this.channels.testChannel(channelId);
testChannel(@Param('id') channelId: string, @Body() body: TestChannelDto) {
return this.channels.testChannel(channelId, body);
}
@Post('channels/:id/status')