fix: ui
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 1m33s

This commit is contained in:
sexygoat
2026-04-25 14:28:40 +08:00
parent 91d7d4c21f
commit 809a3cf0f8
6 changed files with 128 additions and 1210 deletions

View File

@@ -1,7 +1,7 @@
/**
* 认证模块 API
*/
import { get, post } from '@/utils/request'
import { get, post, put } from '@/utils/request'
/**
* 登录请求参数
@@ -104,8 +104,5 @@ export function refreshToken(refresh_token: string) {
* PUT /api/auth/password
*/
export function changePassword(data: ChangePasswordParams) {
return post<void>('/api/auth/password', {
data,
method: 'PUT',
})
return put<void>('/api/auth/password', { data })
}