# addCircularRegion
通知App新增电子围栏
# 请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
type | String | Y | - | 备注类型:1=enter,2=leave |
latitude | String | Y | - | 纬度 |
longitude | String | Y | - | 经度 |
radius | String | Y | - | 围栏半径(米) |
identifier | String | Y | - | 场景ID |
# 参数代码示例
let params = {
type: '1',
latitude: '23.594267',
longitude: '120.219043',
radius: '300',
identifier: '123456789'
}
this.$bridge.addCircularRegion(params).then(res => {
console.log(res)
})
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10