From eeba916b840d8851bc38586fd162358f7ed1941e Mon Sep 17 00:00:00 2001
From: yinbangzhong <zhongbangyin@126.com>
Date: 星期一, 29 七月 2024 18:10:38 +0800
Subject: [PATCH] 权限用户资源

---
 src/api/user.ts |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/api/user.ts b/src/api/user.ts
index d77dd4a..498bf1b 100644
--- a/src/api/user.ts
+++ b/src/api/user.ts
@@ -11,7 +11,8 @@
   token: string;
 }
 export function login(data: LoginData) {
-  return axios.post<LoginRes>('/v1/user/login', data);
+  // return axios.post<LoginRes>('/v1/user/login', data);
+  return axios.post<LoginRes>('/base/login', data);
 }
 
 export function logout() {

--
Gitblit v1.8.0