diff --git a/server/notification-providers/yzj.js b/server/notification-providers/yzj.js index ea222dde3..5cfe30ba7 100644 --- a/server/notification-providers/yzj.js +++ b/server/notification-providers/yzj.js @@ -24,7 +24,7 @@ class YZJ extends NotificationProvider { const params = { content: msg }; - const url = `${notification.yzjWebHookUrl}?yzjtype=${notification.yzjType}&yzjtoken=${notification.yzjToken}`; + const url = `${notification.yzjWebHookUrl}?yzjtype=0&yzjtoken=${notification.yzjToken}`; const result = await axios.post(url, params, config); if (!result.data?.success) { diff --git a/src/components/notifications/YZJ.vue b/src/components/notifications/YZJ.vue index f108fbfad..63bc4c530 100644 --- a/src/components/notifications/YZJ.vue +++ b/src/components/notifications/YZJ.vue @@ -6,12 +6,6 @@ {{ $t("here") }} -