本项目使用Spring+Hibernate+Dubbo开发 可使用两种方式调用服务
- restful方式(下方内容有详细描述)
- rpc方式(调用接口可参看代码)
对应Controller “service/adtd/LightningDensity”
| 参数 | 含义 | 取值范围 | 是否必须 | 默认取值 |
|---|---|---|---|---|
| year | 年份 | 2008-2016 | 是 | 无 |
| radium | 半径 | 1-20正整数 | 是 | 无 |
对应Controller “service/adtd /LightningActiveByTime”
| 参数 | 含义 | 取值范围 | 是否必须 | 默认取值 |
|---|---|---|---|---|
| StartTime | 开始时间 | 指定的日期和时间距 1970 年 1 月 1 日午夜(GMT 时间)之间的毫秒数 | 是 | 无 |
| EndTime | 结束时间 | 指定的日期和时间距 1970 年 1 月 1 日午夜(GMT 时间)之间的毫秒数 | 是 | 无 |
| 名称 | 说明 |
|---|---|
| latitude | 雷电纬度 |
| longitude | 雷电经度 |
| intensity | 幅值(强度) |
| datetime | 雷电时间 |
![][//readmeImg/active.png)
对应Controller “service/adtd / AreaStatistic”
| 参数 | 含义 | 取值范围 | 是否必须 | 默认取值 |
|---|---|---|---|---|
| AreaIndex | 区域索引 | 0-40 | 是 | 无 |
| Date | 查询的日期类型 | YYYY YYYY-MM YYYY-MM-dd |
是 | 无 |
xxxx型返回值
xxxx-xx型返回值
xxxx-xx-xx型返回值
对应Controller “service/adtd / CricleStatistic”和“service/adtd /RectangleStatistic”
CricleStatistic
| 参数 | 含义 | 取值范围 | 是否必须 | 默认取值 |
|---|---|---|---|---|
| Latitude | 纬度 | 28.166-32.207 | 是 | 无 |
| Longitude | 经度 | 105.296-110.206 | 是 | 无 |
| Radium | 半径(公里) | ≤5 | 是 | 无 |
| Date | 查询日期类型 | xxxxxxxx-xxxxxx-xx-xx | 是 | 无 |
Date取值代表含义说明:("x"表示具体的日期数字)
xxxx代表查询一年统计数据
xxxx-xx代表查询一个月统计数据
xxxx-xx-xx代表查询一天统计数据
RectangleStatistic
| 参数 | 含义 | 取值范围 | 是否必须 | 默认取值 |
|---|---|---|---|---|
| latitudeLower | 左下纬度 | 28.166-32.207 | 是 | 无 |
| longitudeLeft | 左下经度 | 105.296-110.206 | 是 | 无 |
| latitudeUpper | 右上纬度 | 28.166-32.207 | 是 | 无 |
| longitudeRight | 右上经度 | 105.296-110.206 | 是 | 无 |
| Date | 查询日期类型 | xxxxxxxx-xxxxxx-xx-xx | 是 | 无 |
Date取值代表含义说明:("x"表示具体的日期数字)
xxxx代表查询一年统计数据
xxxx-xx代表查询一个月统计数据
xxxx-xx-xx代表查询一天统计数据
矩形的面积不能超过25平方公里
CricleStatistic xxxx型返回值
CricleStatistic xxxx-xx型返回值
CricleStatistic xxxx-xx-xx型返回值(其中的时间段为1小时)
RectangleStatistic xxxx型返回值
RectangleStatistic xxxx-xx型返回值
RectangleStatistic xxxx-xx-xx型返回值(其中的时间段为1小时)
















