From da08fc43cb00902cc8e14ed38220169d4eb0ea91 Mon Sep 17 00:00:00 2001 From: wwwwwwwww <526125649@qq.com> Date: Fri, 24 Jul 2026 17:27:39 +0800 Subject: [PATCH] 1 --- video-gen-api/app/api/v1/auth.py | 4 ++-- video-gen-app/src/api/index.ts | 2 +- video-gen-app/src/components/Layout/AppLayout.tsx | 2 +- video-gen-app/src/pages/LoginPage.tsx | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/video-gen-api/app/api/v1/auth.py b/video-gen-api/app/api/v1/auth.py index 05b2cc34..b68a7ea3 100644 --- a/video-gen-api/app/api/v1/auth.py +++ b/video-gen-api/app/api/v1/auth.py @@ -360,10 +360,10 @@ async def get_site_info(db: AsyncSession = Depends(get_db)): return f"{base_url}{path}" return { - "site_name": info.get("site_name", "VideoGen.AI"), + "site_name": info.get("site_name", "智创"), "site_logo": to_full_url(info.get("site_logo")), "user_agreement_privacy_url": to_full_url(info.get("user_agreement_privacy_url")), - "site_copyright": info.get("site_copyright", "© 2024 民众智创 版权所有"), + "site_copyright": info.get("site_copyright", "© 2026 智创 版权所有"), "operation_manual": info.get("operation_manual", ""), "login_bg_video": to_full_url(info.get("login_bg_video")) if info.get("login_bg_video") else "", "optimize_hold_credits": int(info.get("optimize_hold_credits") or 5), diff --git a/video-gen-app/src/api/index.ts b/video-gen-app/src/api/index.ts index 01dcb945..8714cc52 100644 --- a/video-gen-app/src/api/index.ts +++ b/video-gen-app/src/api/index.ts @@ -302,7 +302,7 @@ export async function verifyCaptcha(captchaId: string, x: number): Promise { - if (USE_MOCK) return { siteName: 'VideoGen.AI', siteLogo: '', userAgreementPrivacyUrl: '', siteCopyright: '© 2024 民众智创 版权所有', operationManual: '', loginBgVideo: '' }; + if (USE_MOCK) return { siteName: '智创', siteLogo: '', userAgreementPrivacyUrl: '', siteCopyright: '© 2026 智创 版权所有', operationManual: '', loginBgVideo: '' }; return api.get('/auth/site-info', false); } // ── Video Engines ───────────────────────────────────────── diff --git a/video-gen-app/src/components/Layout/AppLayout.tsx b/video-gen-app/src/components/Layout/AppLayout.tsx index cff81175..fc2247de 100644 --- a/video-gen-app/src/components/Layout/AppLayout.tsx +++ b/video-gen-app/src/components/Layout/AppLayout.tsx @@ -385,7 +385,7 @@ const AppLayout: React.FC = () => { useEffect(() => { getSiteInfo().then(info => { - const name = info.siteName || '民众智创'; + const name = info.siteName || '智创'; const logo = info.siteLogo || ''; if (name !== siteName) { diff --git a/video-gen-app/src/pages/LoginPage.tsx b/video-gen-app/src/pages/LoginPage.tsx index 0b46fe30..60784104 100644 --- a/video-gen-app/src/pages/LoginPage.tsx +++ b/video-gen-app/src/pages/LoginPage.tsx @@ -36,12 +36,12 @@ const LoginPage: React.FC = () => { if (cached) { const info = JSON.parse(cached); return { - siteName: info.siteName || 'VideoGen.AI', + siteName: info.siteName || '智创', siteLogo: info.siteLogo || '', }; } } catch { } - return { siteName: 'VideoGen.AI', siteLogo: '' }; + return { siteName: '智创', siteLogo: '' }; }; const initialInfo = getInitialSiteInfo();