From e3271aaeb41fd1b5203b2926b7eeb132651417a7 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 11 八月 2025 17:32: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 56aa81c..a82987d 100644
--- a/src/store/modules/user.ts
+++ b/src/store/modules/user.ts
@@ -19,7 +19,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