From 939ea6170c682682fc7e78303e71fd38b443402e Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 14 八月 2025 17:44:34 +0800
Subject: [PATCH] feat: 接口对接

---
 src/store/modules/user.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts
index bf396f3..c9364bf 100644
--- a/src/store/modules/user.ts
+++ b/src/store/modules/user.ts
@@ -18,7 +18,7 @@
 
 export interface UserState {
   token: string;
-  userInfo: API.PasswordLoginCommandCallback;
+  userInfo: API.LoginCommandCallback;
 }
 
 function getDefaultState() {
@@ -52,7 +52,7 @@
       this.token = token;
       setToken(token);
     },
-    setUserInfo(userInfo: API.PasswordLoginCommandCallback) {
+    setUserInfo(userInfo: API.LoginCommandCallback) {
       this.userInfo = userInfo;
       setUserInfo(userInfo);
     },

--
Gitblit v1.9.1