# getLanguage
获取国家code语言code
# 请求参数
Prop | Type | Required | Default | Description |
---|---|---|---|---|
-- | Boolean | N | true | 是否展示loading |
# 接口请求示例
nativeService.getLanguage()
# 返回参数
Prop | Type | Default | Description |
---|---|---|---|
-- | Promise | 获取值之后的回调 | |
-language | String | 国家码 | |
-country | String | 语言码 |
# 接口返回示例
nativeService.getLanguage().then(data => {
const { language, country } = data;
})