杂务:更新 YumiNail 工作区

This commit is contained in:
xiaowang
2026-05-29 13:30:56 +08:00
parent 1d077d4089
commit 31cd06b5c9
16498 changed files with 10330586 additions and 2340 deletions
+12 -1
View File
@@ -32,7 +32,7 @@ const ERROR_DEBOUNCE_TIME = 1000
*/
const adminApi = axios.create({
baseURL: ADMIN_API_BASE_URL,
timeout: 10000,
timeout: 60000,
headers: {
'Content-Type': 'application/json'
}
@@ -913,6 +913,10 @@ export interface UserVO {
account: string
avatar: string
phone?: string
contactPhone?: string
birthday?: string
wechatId?: string
wechatQrCode?: string
signature?: string
level?: string
type: number
@@ -1911,6 +1915,10 @@ export interface SystemParameterConfigVO {
updateTime?: string
}
export interface AdminDefaultPasswordResponse {
password: string
}
/**
* Purpose: adminSystemParameterConfigApi supports admin.ts by holding or executing the admin system parameter config api page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
@@ -1927,6 +1935,9 @@ export const adminSystemParameterConfigApi = {
},
getMapConfig: () => {
return adminApi.get<{ provider: 'TENCENT' | 'AMAP'; tencentWebKey?: string; amapWebKey?: string; amapMiniKey?: string }>('/system-parameter-config/admin/map-config') as unknown as Promise<{ provider: 'TENCENT' | 'AMAP'; tencentWebKey?: string; amapWebKey?: string; amapMiniKey?: string }>
},
getUserDefaultPassword: () => {
return adminApi.get<AdminDefaultPasswordResponse>('/system-parameter-config/admin/user-default-password') as unknown as Promise<AdminDefaultPasswordResponse>
}
}