国际化支持

This commit is contained in:
liuhanqing
2025-05-23 10:33:30 +08:00
parent fd1c9ef5e8
commit 1f61c0c84a
13 changed files with 339 additions and 101 deletions

View File

@@ -31,6 +31,20 @@ export function register(data) {
})
}
// 修改语言
export function changeLanguage(lang){
return request({
url: '/changeLanguage',
method: 'get',
headers: {
isToken: false,
},
params: {
lang: lang
}
})
}
// 获取用户详细信息
export function getInfo() {
return request({
@@ -57,4 +71,4 @@ export function getCodeImg() {
method: 'get',
timeout: 20000
})
}
}