v0.3.34: 每日汇报增加推送通道选择UI

This commit is contained in:
2026-05-17 21:52:37 +08:00
parent 17b40cea7b
commit cf2796666d
54 changed files with 191 additions and 135 deletions

View File

@@ -346,9 +346,10 @@ export async function getAllNotifierProviders(): Promise<Record<string, { name:
export async function testNotifyChannel(
channelType: string,
configId?: number
configId?: number,
params?: Record<string, any>
): Promise<{ success: boolean; message: string }> {
const { data } = await api.post('/admin/notify/test', { channelType, configId })
const { data } = await api.post('/admin/notify/test', { channelType, configId, params })
return data
}