login wallpapers cache

This commit is contained in:
jxxghp
2024-08-29 16:15:42 +08:00
parent 340bb08f2a
commit ec54ec2607
3 changed files with 36 additions and 14 deletions

View File

@@ -40,7 +40,7 @@ export default api
export async function fetchGlobalSettings() {
try {
const result: { [key: string]: any } = await api.get('system/env')
const result: { [key: string]: any } = await api.get('system/global')
return result.data || {}
} catch (error) {
console.error('Failed to fetch global settings', error)