修复登录缺陷和用户信息展示部分

This commit is contained in:
Eamon
2026-01-09 17:34:57 +08:00
parent 054b8954c4
commit c85293fd1d
11 changed files with 158 additions and 55 deletions

View File

@@ -80,7 +80,7 @@ const _callByUser = cache(
): Promise<ApiResponse<R>> => {
// 获取用户令牌
const cookie = await cookies()
const token = cookie.get("auth_token")?.value
const token = cookie.get("admin/auth_token")?.value
if (!token) {
return {
success: false,