add rotate captcha

This commit is contained in:
landaiqing
2024-08-12 22:24:16 +08:00
parent fea8b9df2d
commit 431e690f02
18 changed files with 257 additions and 38 deletions

View File

@@ -17,10 +17,10 @@ export const service = createAlova({
requestAdapter: axiosRequestAdapter(),
l2Cache: localforageStorageAdapter,
cacheFor: {
GET: {
mode: 'restore',
expire: 10 * 1000
},
// GET: {
// mode: 'restore',
// expire: 10 * 1000
// },
},
cacheLogger: import.meta.env.VITE_NODE_ENV === 'development',
// 设置全局的请求拦截器