From 22a394f335ec2f790a3ac36f6a4c26fc34ba264c Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 6 Mar 2023 15:44:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=AF=AD=E8=A8=80=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/uni-app/api/user.js | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 + }) +} + /** * * 小程序绑定手机号