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") }} -
- - -
diff --git a/src/lang/en.json b/src/lang/en.json index 111e70919..64958cdc6 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -1053,7 +1053,5 @@ "SendGrid API Key": "SendGrid API Key", "Separate multiple email addresses with commas": "Separate multiple email addresses with commas", "YZJ Webhook URL": "YZJ Webhook URL", - "YZJ Robot Type": "YZJ Robot type", - "YZJ Robot Token": "YZJ Robot token", - "YZJ General Robot": "YZJ General Robot" + "YZJ Robot Token": "YZJ Robot token" }