From ee6c37d8c26ae87cbf1999c3fa503bf75362cb9c Mon Sep 17 00:00:00 2001 From: jiangrui Date: Tue, 22 Apr 2025 18:38:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=8E=BB=E9=99=A4=E5=86=85=E7=BD=AE?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/.env.example | 2 +- backend/src/config/index.ts | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/backend/.env.example b/backend/.env.example index c9d6b4e..0190342 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -5,5 +5,5 @@ JWT_SECRET=your_jwt_secret_here TELEGRAM_BASE_URL=https://t.me/s # Telegram频道配置 -TELE_CHANNELS=[{"id":"guaguale115","name":"115网盘资源分享"},{"id":"hao115","name":"115网盘资源分享频道"},{"id":"yunpanshare","name":"网盘资源收藏(夸克)"}] +TELE_CHANNELS=[] diff --git a/backend/src/config/index.ts b/backend/src/config/index.ts index 91fa570..76a7eaf 100644 --- a/backend/src/config/index.ts +++ b/backend/src/config/index.ts @@ -51,20 +51,7 @@ const getTeleChannels = (): Channel[] => { } // 默认配置 - return [ - { - id: "guaguale115", - name: "115网盘资源分享", - }, - { - id: "hao115", - name: "115网盘资源分享频道", - }, - { - id: "yunpanshare", - name: "网盘资源收藏(夸克)", - }, - ]; + return []; }; export const config: Config = {