添加新功能,完善项目

This commit is contained in:
truewhile
2026-09-22 16:22:29 +08:00
parent 47899284a5
commit b5ce4646cf
85 changed files with 7103 additions and 982 deletions
+4
View File
@@ -8,6 +8,10 @@ import { getActivePlayProfileId, getActivePlayProfilePinToken } from '../stores/
export const api = axios.create({
baseURL: '/api',
timeout: 30000,
// Serialize arrays as repeated params without brackets: genre=a&genre=b
// instead of axios's default genre[]=a&genre[]=b which Gin's QueryArray
// does not recognise.
paramsSerializer: { indexes: null },
})
export const LONG_REQUEST_TIMEOUT = 120_000