From 88d804df891d81115532eb51d16a4512c67e48d7 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Mon, 22 Apr 2024 13:09:32 +0800 Subject: [PATCH] chore: update --- src/api/user.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/api/user.ts b/src/api/user.ts index 58696b665..a0c43e00c 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -3,8 +3,12 @@ import { http } from "@/utils/http"; export type UserResult = { success: boolean; data: { + /** 头像 */ + avatar: string; /** 用户名 */ username: string; + /** 昵称 */ + nickname: string; /** 当前登录用户的角色 */ roles: Array; /** `token` */