diff --git a/template/uni-app/api/user.js b/template/uni-app/api/user.js index d9775c407..857eb61c9 100644 --- a/template/uni-app/api/user.js +++ b/template/uni-app/api/user.js @@ -698,6 +698,16 @@ export function getLangJson() { }) } +/** + * 获取多语言是否切换 + */ + +export function getLangVersion() { + return request.get('lang_version', {}, { + noAuth: true + }) +} + /** * * 小程序绑定手机号