diff --git a/server/app/controller/notify.js b/server/app/controller/notify.js index 9479fc6..c03014a 100644 --- a/server/app/controller/notify.js +++ b/server/app/controller/notify.js @@ -25,7 +25,7 @@ async function updateNotifyConfig({ res, request }) { case 'tg': let { sendTg } = await decryptAndExecuteAsync(path.join(__dirname, '../utils/plus.js')) || {} console.log('sendTg: ', sendTg) - if (!sendTg) return res.fail({ msg: 'Plus功能解析失败' }) + if (!sendTg) return res.fail({ msg: 'Plus专属功能点,请激活Plus' }) await sendTg(noticeConfig[type], 'EasyNode通知测试', '这是一条测试通知') break } diff --git a/web/src/views/setting/components/notify-config.vue b/web/src/views/setting/components/notify-config.vue index 12bc180..3de9367 100644 --- a/web/src/views/setting/components/notify-config.vue +++ b/web/src/views/setting/components/notify-config.vue @@ -93,30 +93,19 @@ 测试并保存 - - - 测试并保存 - -