# getLanguage ^8.7

获取APP当前语言

# 请求参数

N/A

# 接口调用示例

this.$bridge.getLanguage().then((res) => {
  this.result = res;
});
1
2
3

# 返回参数

Prop Type Comment
code Number 0:成功
msg String 提示信息
language String 语言码
country String 区域码(若有选择)

# 返回示例

{
  "code": 0,
  "msg": "success",
  "language": "zh-Hans",
  "country": "AF"
}
1
2
3
4
5
6