mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-09 09:46:55 +08:00
Merge remote-tracking branch 'origin/main'
# Conflicts: # frontend/src/i18n/en.json # frontend/src/i18n/zh-CN.json
This commit is contained in:
@@ -5,5 +5,6 @@ export const userApi = {
|
||||
add: (data: any) => request.post('/settings/terminology', data),
|
||||
edit: (data: any) => request.put('/settings/terminology', data),
|
||||
delete: (id: number) => request.delete(`/settings/terminology/${id}`),
|
||||
query: (id: number) => request.get(`/settings/terminology/${id}`)
|
||||
query: (id: number) => request.get(`/settings/terminology/${id}`),
|
||||
language: (data: any) => request.put('/user/language', data),
|
||||
}
|
||||
@@ -8,5 +8,6 @@ export const AuthApi = {
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
}
|
||||
}),
|
||||
logout: () => request.post('/auth/logout')
|
||||
logout: () => request.post('/auth/logout'),
|
||||
info: () => request.get('/user/info')
|
||||
}
|
||||
Reference in New Issue
Block a user