您需要在用户中心填写 预警解除推送URL网址 , 解除预警的城市数据会24小时不间断POST过去, 一次只POST一个城市数据
推送方式:
POST
POST参数说明:
字段名 | 说明 | 备注 |
---|---|---|
safecode | 安全码 | 后台可修改,用于通信验证 |
cityid | 城市ID | |
type | 预警类型 | 如:雷电 |
level | 预警等级 | 如:黄色 |
province | 省份 | |
city | 城市名称 | |
area | 区县名称 |
备注
收到解除推送后,您可以这样发送:[area][type][level]预警已解除。
POST字段预览
{
"cityid":"101220611",
"type":"暴雨",
"level":"蓝色",
"province":"安徽",
"city":"安庆",
"area":"大观",
"safecode":"123456"
}
蓝色,黄色,橙色,红色,白色
["台风预警","暴雨预警","暴雪预警","寒潮预警","大风预警","沙尘暴预警","高温预警","干旱预警","雷电预警","冰雹预警","霜冻预警","大雾预警","霾预警","道路结冰预警","海上大雾预警","雷暴大风预警","持续低温预警","浓浮尘预警","龙卷风预警","低温冻害预警","海上大风预警","低温雨雪冰冻预警","强对流预警","臭氧预警","大雪预警","强降雨预警","强降温预警","雪灾预警","森林(草原)火险预警","雷暴预警","严寒预警","沙尘预警","海上雷雨大风预警","海上雷电预警","海上台风预警","低温预警","寒冷预警","灰霾预警","雷雨大风预警","森林火险预警","降温预警","道路冰雪预警","干热风预警","空气重污染预警","冰冻预警"]