# getCountryString 获取国家码
# Attributes
| 属性 | 类型 | 必要 | 默认值 | 说明 |
|---|
# 调用示例
window.bridge.getCountryString(res => {
console.log(res)
}, err => {
console.log(err)
})
# callback
| 属性 | 类型 | 必要 | 默认值 | 说明 |
|---|---|---|---|---|
| countryCode | String | Y | - | |
| countryString | String | Y | - |
# 接口返回示例
{"country_string": "Vietnam", "country_code": "VN", "msg": "success", "code": 0}