Browse Source

feat: 语言更新接口

From-wh 2 years atrás
parent
commit
22a394f335
1 changed files with 10 additions and 0 deletions
  1. 10 0
      template/uni-app/api/user.js

+ 10 - 0
template/uni-app/api/user.js

@@ -698,6 +698,16 @@ export function getLangJson() {
 	})
 	})
 }
 }
 
 
+/**
+ * 获取多语言是否切换
+ */
+
+export function getLangVersion() {
+	return request.get('lang_version', {}, {
+		noAuth: true
+	})
+}
+
 /**
 /**
  * 
  * 
  * 小程序绑定手机号
  * 小程序绑定手机号