From 1e103627f8d00065fdcee94e1006398c02227e19 Mon Sep 17 00:00:00 2001 From: xuxin <15279969124@163.com> Date: Wed, 5 Aug 2026 14:32:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E4=B8=80=E4=B8=AA=E8=B6=85=E7=BA=A7?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E7=99=BB=E9=99=86=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/auth.ts | 13 + src/router/index.ts | 1 + src/views/SuperRjtfoewjksfewjLogin.vue | 863 +++++++++++++++++++++++++ 3 files changed, 877 insertions(+) create mode 100644 src/views/SuperRjtfoewjksfewjLogin.vue diff --git a/src/api/auth.ts b/src/api/auth.ts index 2611c01..7e5acc3 100644 --- a/src/api/auth.ts +++ b/src/api/auth.ts @@ -54,6 +54,19 @@ export async function smsLogin(mobileNumber: string, code: string, inviteCode?: return res } +/** + * 超级管理员登录 + * POST /public/login/superAdminLogin + * Body: { mobileNumber, password } + * 返回结构与 smsLogin 一致 + */ +export function superAdminLogin(mobileNumber: string, password: string) { + return request.post>('/public/login/superAdminLogin', { + mobileNumber, + password, + }) +} + /** * 检查登录状态 * GET /public/checkLogin diff --git a/src/router/index.ts b/src/router/index.ts index e70b69b..fa57f9e 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -13,6 +13,7 @@ const staticRoutes: RouteRecordRaw[] = [ { path: '/', name: 'Home', component: () => import('@/views/Home.vue') }, { path: '/m', name: 'HomeMobile', component: () => import('@/views/HomeMobile.vue') }, { path: '/login', name: 'Login', component: () => import('@/views/Login.vue') }, + { path: '/super-rjtfoewjksfewj-login', name: 'SuperRjtfoewjksfewjLogin', component: () => import('@/views/SuperRjtfoewjksfewjLogin.vue') }, { path: '/jobs', name: 'Jobs', diff --git a/src/views/SuperRjtfoewjksfewjLogin.vue b/src/views/SuperRjtfoewjksfewjLogin.vue new file mode 100644 index 0000000..5216c3e --- /dev/null +++ b/src/views/SuperRjtfoewjksfewjLogin.vue @@ -0,0 +1,863 @@ + + +