Auto merge main into base-uview-plus

This commit is contained in:
GitHub Actions 2025-06-22 05:02:28 +00:00
commit 2d944e474d
3 changed files with 2 additions and 59 deletions

View File

@ -1,4 +1,4 @@
import type { ICaptcha, IUpdateInfo, IUpdatePassword, IUserInfoVo, IUserLogin } from './login.typings'
import type { ICaptcha, IUpdateInfo, IUpdatePassword, IUserInfoVo, IUserLogin } from './types/login'
import { http } from '@/utils/http'
/**

View File

@ -1,57 +0,0 @@
/**
*
*/
export interface IUserInfoVo {
id: number
username: string
avatar: string
token: string
}
/**
*
*/
export interface IUserLogin {
id: string
username: string
token: string
}
/**
*
*/
export interface ICaptcha {
captchaEnabled: boolean
uuid: string
image: string
}
/**
*
*/
export interface IUploadSuccessInfo {
fileId: number
originalName: string
fileName: string
storagePath: string
fileHash: string
fileType: string
fileBusinessType: string
fileSize: number
}
/**
*
*/
export interface IUpdateInfo {
id: number
name: string
sex: string
}
/**
*
*/
export interface IUpdatePassword {
id: number
oldPassword: string
newPassword: string
confirmPassword: string
}

View File

@ -1,4 +1,4 @@
import type { IUserInfoVo } from '@/api/login.typings'
import type { IUserInfoVo } from '@/api/types/login'
import { defineStore } from 'pinia'
import { ref } from 'vue'
import {