From a039b957d07afd8534af6122ac4be731d9073590 Mon Sep 17 00:00:00 2001 From: csf123321 Date: Mon, 20 Apr 2026 16:02:50 +0800 Subject: [PATCH] =?UTF-8?q?frontend=E5=8E=BBai=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/index.html | 1 - frontend/src/api/delivery.ts | 6 --- frontend/src/auth.api.ts | 3 -- frontend/src/auth.types.ts | 2 + frontend/src/layouts/DashboardLayout.vue | 1 + frontend/src/main.ts | 4 +- frontend/src/views/AboutView.vue | 2 + frontend/src/views/DashboardView.vue | 51 +----------------------- frontend/src/views/DeliveryView.vue | 28 ------------- frontend/src/views/HomeView.vue | 1 - frontend/src/views/LoginView.vue | 10 ++--- frontend/src/views/RegisterView.vue | 6 +-- frontend/src/views/RevisionsView.vue | 1 - frontend/src/views/SearchView.vue | 3 +- frontend/src/views/TopicsView.vue | 5 +-- 15 files changed, 15 insertions(+), 109 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index cc7a62f..810391a 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -5,7 +5,6 @@ 聚势智见 - 基于语义聚类与大模型的热点资讯聚合平台 - diff --git a/frontend/src/api/delivery.ts b/frontend/src/api/delivery.ts index b628984..807d142 100644 --- a/frontend/src/api/delivery.ts +++ b/frontend/src/api/delivery.ts @@ -6,9 +6,6 @@ export function fetchDeliveryConfig(userId: number): Promise { return apiGet(`/users/${userId}/delivery-config`) } -// ========================================== -// 推送时间表 -// ========================================== export function createDeliverySchedule( userId: number, payload: { delivery_time: string; is_active?: boolean }, @@ -34,9 +31,6 @@ export function deleteDeliverySchedule( return apiDelete(`/users/${userId}/delivery-schedules/${scheduleId}`) } -// ========================================== -// 推送渠道 -// ========================================== export function createPushEndpoint( userId: number, payload: { diff --git a/frontend/src/auth.api.ts b/frontend/src/auth.api.ts index 18546ba..03d4bd0 100644 --- a/frontend/src/auth.api.ts +++ b/frontend/src/auth.api.ts @@ -1,6 +1,3 @@ -/** - * 认证 API:登录、注册、发送验证码(不走通用 client,无 Bearer) - */ import type { AuthTokenResponse, LoginPayload, diff --git a/frontend/src/auth.types.ts b/frontend/src/auth.types.ts index 845ea0c..4697ab5 100644 --- a/frontend/src/auth.types.ts +++ b/frontend/src/auth.types.ts @@ -1,3 +1,5 @@ +// AI辅助生成:deepseek-v3-2,2026年3月20日 + export interface UserProfile { id: number email: string diff --git a/frontend/src/layouts/DashboardLayout.vue b/frontend/src/layouts/DashboardLayout.vue index 3003db4..93c53be 100644 --- a/frontend/src/layouts/DashboardLayout.vue +++ b/frontend/src/layouts/DashboardLayout.vue @@ -1,3 +1,4 @@ +