1. Overview
rongdukeji API Teste
1.1. Version information
Version : 1.0
1.2. Contact information
Contact : 寻俊杰
Contact Email : xunjj@rongdukj.com
1.3. License information
License : 融度互通智能科技有限公司API接口
Terms of service : null
1.4. URI scheme
Host : localhost:81
BasePath : /rongduApi
1.5. Tags
-
index-controller : index Controller
-
人员接口 : 人员文档说明
-
区域接口 : 区域接口文档
-
定时接口 : 定时接口文档说明
-
接口 : 控制接口
-
网关管理 : 网关文档说明
-
设备历史数据 : 设备历史数据说明
-
设备接口 : 设备文档说明
-
项目管理接口 : 项目管理文档说明
2. Chapter of manual content 1
This is some dummy text
2.1. Sub chapter
Dummy text of sub chapter
3. Chapter of manual content 2
This is some dummy text
4. Resources
4.1. Index-controller
index Controller
4.1.1. index
GET /
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
string |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Produces
-
/
4.1.2. aaaa
POST /aaaa
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
string |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.1.3. 查询APP是否要升级接口
GET /getappupgrade
Description
查询APP是否要升级接口
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
appid |
appid |
string |
Query |
company |
APP所属公司 |
string |
Query |
version |
APP版本号 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Produces
-
/
4.2. 人员接口
人员文档说明
4.2.1. 添加用户
POST /user/adduser
Description
添加用户
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
company |
公司 |
string |
Query |
createtime |
创建时间 |
string(date-time) |
Query |
email |
邮箱 |
string |
Query |
fid |
上级用户ID |
string |
Query |
iphone |
用户联系电话 |
string |
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
pwd |
密码 |
string |
Query |
remarks |
备注 |
string |
Query |
show_time_format |
string |
|
Query |
token |
token |
string |
Query |
uid |
用户ID |
string |
Query |
uname |
用户名称 |
string |
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Query |
utype |
用户类型(0,管理员,1,业务员,2,公司用户,3,普通用户,4,公司下用户) |
integer(int32) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.2.2. 登陆接口
POST /user/fontlogin
Description
登陆接口
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
name |
用户名 |
string |
Query |
pwd |
密码 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.2.3. get测试接口
POST /user/getgetceshi
Description
get测试接口
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
uid |
用户ID |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
string |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.2.4. token过期使用token重新请求
POST /user/getnewtoken
Description
token过期使用token重新请求
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
token |
老的token |
string |
Query |
uid |
用户ID |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.2.5. post测试接口
POST /user/getpostceshi
Description
post测试接口
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
uid |
用户ID |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
string |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.2.6. 获取当前用户
POST /user/getuser
Description
获取当前用户
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.2.7. 登陆接口
POST /user/login
Description
登陆接口
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
name |
用户名 |
string |
Query |
pwd |
密码 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.2.8. 查询管理员,业务员,公司下的用户
POST /user/loginalluser
Description
用户下所有用户
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< 用户信息 > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.2.9. 业务员列表
POST /user/selSeaure
Description
查询业务员列表
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< 用户信息 > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.2.10. 查询所有的人员
POST /user/selectAll
Description
查询所有的人员接口说明
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
pageindex |
页码 |
ref |
Query |
pagesize |
条数 |
ref |
Query |
seach |
查询条件 |
string |
Query |
utype |
用户类型 |
ref |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.2.11. 修改用户密码
POST /user/uppwd
Description
修改用户密码
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
newpwd |
新密码 |
string |
Query |
olwpwd |
旧密码 |
string |
Query |
uid |
用户id |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.2.12. 修改用户
POST /user/upuser
Description
修改用户
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
company |
公司 |
string |
Query |
createtime |
创建时间 |
string(date-time) |
Query |
email |
邮箱 |
string |
Query |
fid |
上级用户ID |
string |
Query |
iphone |
用户联系电话 |
string |
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
pwd |
密码 |
string |
Query |
remarks |
备注 |
string |
Query |
show_time_format |
string |
|
Query |
token |
token |
string |
Query |
uid |
用户ID |
string |
Query |
uname |
用户名称 |
string |
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Query |
utype |
用户类型(0,管理员,1,业务员,2,公司用户,3,普通用户,4,公司下用户) |
integer(int32) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.3. 区域接口
区域接口文档
4.3.1. 添加区域下设备
POST /region/addrande
Description
添加区域下设备
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
createtime |
创建时间 |
string(date-time) |
Query |
emac |
string |
|
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
remarks |
备注 |
string |
Query |
rid |
integer(int32) |
|
Query |
show_time_format |
string |
|
Query |
sort |
integer(int32) |
|
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.3.2. 添加区域
POST /region/addregion
Description
添加区域
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
createtime |
创建时间 |
string(date-time) |
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
remarks |
备注 |
string |
Query |
show_time_format |
string |
|
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Query |
区域 |
integer(int32) |
|
Query |
区域ID |
integer(int32) |
|
Query |
区域名称 |
string |
|
Query |
用户ID |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.3.3. 删除区域下设备
POST /region/delrande
Description
删除区域下设备
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
createtime |
创建时间 |
string(date-time) |
Query |
emac |
string |
|
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
remarks |
备注 |
string |
Query |
rid |
integer(int32) |
|
Query |
show_time_format |
string |
|
Query |
sort |
integer(int32) |
|
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.3.4. 删除区域
POST /region/delregion
Description
删除区域
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
rid |
rid |
integer(int32) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.3.5. 搜索用户下不属于用户的设备
POST /region/getnotregionls
Description
搜索用户下不属于用户的设备
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
rid |
区域ID |
ref |
Query |
seach |
查询条件 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< rongdu_equiment > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.3.6. 跟据区域ID获取区域
POST /region/getoneregion
Description
跟据区域ID获取区域
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
rid |
区域ID |
ref |
Query |
seach |
查询条件 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.3.7. 搜索区域属于用户的设备
POST /region/getoneregionls
Description
搜索区域属于用户的设备
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
pageindex |
页码 |
ref |
Query |
pagesize |
条数 |
ref |
Query |
rid |
区域ID |
ref |
Query |
seach |
查询条件 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.3.8. 查询用户下所有的区域
POST /region/selregion
Description
查询用户下所有的区域
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< 区域信息 > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.3.9. 修改区域
POST /region/udateregion
Description
修改区域
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
createtime |
创建时间 |
string(date-time) |
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
remarks |
备注 |
string |
Query |
show_time_format |
string |
|
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Query |
区域 |
integer(int32) |
|
Query |
区域ID |
integer(int32) |
|
Query |
区域名称 |
string |
|
Query |
用户ID |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.3.10. 修改区域下设备位置
POST /region/updaterande
Description
修改区域下设备位置
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
createtime |
创建时间 |
string(date-time) |
Query |
emac |
string |
|
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
remarks |
备注 |
string |
Query |
rid |
integer(int32) |
|
Query |
show_time_format |
string |
|
Query |
sort |
0:下降,1上升 |
ref |
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.4. 定时接口
定时接口文档说明
4.4.1. 添加定时
POST /timming/addtimming
Description
添加定时请求
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
rdtimming |
定时类需要添加的逻辑 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.4.2. 删除定时
POST /timming/deltimming
Description
删除定时请求
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
tid |
定时ID |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.4.3. 跟据定时ID查询定时
POST /timming/selidtimming
Description
跟据定时ID查询定时
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
tid |
tid |
integer(int32) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.4.4. 跟据定时ID查询定时中的设备组,及设组下的设备
POST /timming/seltimgroup
Description
跟据定时ID查询定时中的设备组,及设组下的设备
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
tid |
tid |
integer(int32) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< 定时组 > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.4.5. 查询定时
POST /timming/seltimming
Description
查询定时
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
pageindex |
第几页 |
string |
Query |
pagesize |
一页多少行 |
string |
Query |
seach |
定时查询(名称) |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.4.6. 定时暂停,开启
POST /timming/setsuspend
Description
定时暂停,开启
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
suspend |
0:暂停,1:执行 |
ref |
Query |
tid |
定时id |
ref |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.4.7. 修改定时
POST /timming/updatetimming
Description
修改定时请求
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
delgroup |
删除定时中的定时组ID,多个用','隔开 |
string |
Query |
rdtimming |
定时类需要修改的逻辑 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.5. 接口
控制接口
4.5.1. webSocket消息转http接口
POST /control/getmsg
Description
HTTP消息
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.5.2. 获取天气农历信息
POST /control/getweather
Description
获取天气农历信息
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.5.3. 向网关及设备发送数据
POST /control/onoff
Description
向网关及设备发送数据
Parameters
| Type | Name | Schema |
|---|---|---|
Query |
e |
string |
Query |
g |
string |
Query |
i |
string |
Query |
m |
string |
Query |
u |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.6. 网关管理
网关文档说明
4.6.1. 添加网关
POST /gateway/addgateway
Description
添加网关
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
address |
网关当前所在地址 |
string |
Query |
connect |
连接模式(WIFI网络1:4G网络-4:3G网络-3:2G网络-2:有线-5) |
integer(int32) |
Query |
createtime |
创建时间 |
string(date-time) |
Query |
devcieid |
当前设备编号 |
string |
Query |
dianliang |
电量 |
string |
Query |
gmac |
网关Mac |
string |
Query |
gname |
网关名称 |
string |
Query |
gvid |
可升级的版本号 |
integer(int32) |
Query |
gvidpwd |
升级网关需要的密码 |
string |
Query |
imei |
imei号 |
string |
Query |
imsi |
imsi号 |
string |
Query |
iphonenumber |
手机号 |
string |
Query |
isdisplay |
是否带本地届面 |
integer(int32) |
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
isvalid_time |
有效时间 |
string(date-time) |
Query |
lat |
纬度 |
string |
Query |
lng |
经度 |
string |
Query |
model |
网关型号 |
string |
Query |
rainfall |
未来七天降雨量 |
string |
Query |
remarks |
备注 |
string |
Query |
show_time_format |
string |
|
Query |
todao |
通道数量 |
integer(int32) |
Query |
uid |
用户ID |
string |
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Query |
version |
网关版本 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.6.2. 向网关发送升级指定
POST /gateway/controlupdate
Description
向网关发送升级指定
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
gmac |
gmac |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.6.3. 网关后台登陆指令生成
POST /gateway/gateloginzhilin
Description
网关后台登陆指令生成
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
mac |
网关Mac |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.6.4. 查询网关下所有的通道
POST /gateway/getgatewaytodao
Description
查询网关下所有的通道
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
gmac |
网关Mac |
string |
Query |
tongdaotype |
无参所有通道,0 有线通道 ,1 无线通道 |
ref |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< rongdu_equiment > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.6.5. 网关升级获取下载链接版本
POST /gateway/getgatewayversion
Description
网关升级获取下载链接版本
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
gmac |
当前网关Mac |
string |
Query |
pwd |
下载文件密钥 |
ref |
Query |
version |
当前网关版本 |
ref |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.6.6. 用户管理平台首页接口
POST /gateway/getindexmap
Description
用户管理平台首页接口
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.6.7. 跟据通道查询设备
POST /gateway/gettodaoeq
Description
跟据通道查询设备
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
gmac |
网关MAC |
string |
Query |
tongdao |
通道编号 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< rongdu_equiment > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.6.8. 查询用户下所有的网关
POST /gateway/getuidgateway
Description
查询用户下所有的网关
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
uid |
用户ID |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< 网关表 > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.6.9. 查询所有网关
POST /gateway/selgate
Description
查询所有的网关的接口说明
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
pageindex |
页码 |
ref |
Query |
pagesize |
条数 |
ref |
Query |
seach |
查询条件 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.6.10. 修改网关
POST /gateway/upgateway
Description
修改网关
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
address |
网关当前所在地址 |
string |
Query |
connect |
连接模式(WIFI网络1:4G网络-4:3G网络-3:2G网络-2:有线-5) |
integer(int32) |
Query |
createtime |
创建时间 |
string(date-time) |
Query |
devcieid |
当前设备编号 |
string |
Query |
dianliang |
电量 |
string |
Query |
gmac |
网关Mac |
string |
Query |
gname |
网关名称 |
string |
Query |
gvid |
可升级的版本号 |
integer(int32) |
Query |
gvidpwd |
升级网关需要的密码 |
string |
Query |
imei |
imei号 |
string |
Query |
imsi |
imsi号 |
string |
Query |
iphonenumber |
手机号 |
string |
Query |
isdisplay |
是否带本地届面 |
integer(int32) |
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
isvalid_time |
有效时间 |
string(date-time) |
Query |
lat |
纬度 |
string |
Query |
lng |
经度 |
string |
Query |
model |
网关型号 |
string |
Query |
rainfall |
未来七天降雨量 |
string |
Query |
remarks |
备注 |
string |
Query |
show_time_format |
string |
|
Query |
todao |
通道数量 |
integer(int32) |
Query |
uid |
用户ID |
string |
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Query |
version |
网关版本 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.7. 设备历史数据
设备历史数据说明
4.7.1. 根据时间查询历史数据
POST /eqls/seleq
Description
根据时间查询历史数据说明
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
bigdate |
开始时间 |
ref |
Query |
emac |
设备MAC |
string |
Query |
enddate |
结束时间 |
ref |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< 设备历史数据 > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.8. 设备接口
设备文档说明
4.8.1. 添加设备
POST /equipment/addeq
Description
添加设备的接口说明
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
collect |
采集时间 |
integer(int32) |
Query |
createtime |
创建时间 |
string(date-time) |
Query |
dianliang |
电量 |
string |
Query |
eid |
设备类型 |
integer(int32) |
Query |
emac |
设备Mac |
string |
Query |
ename |
设备名称 |
string |
Query |
eqversion |
设备版本 |
string |
Query |
etype |
设备类型(0,有线,1,无线) |
integer(int32) |
Query |
gmac |
网关MAC |
string |
Query |
gversion |
网关版本 |
string |
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
mhz |
无线设备频点 |
integer(int32) |
Query |
msg |
设备最后一次上传的消息 |
string |
Query |
remarks |
备注 |
string |
Query |
show_time_format |
string |
|
Query |
sort |
排序 |
integer(int32) |
Query |
tongdao |
通道 |
integer(int32) |
Query |
uid |
uid |
string |
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Query |
xinhao |
信号质量 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.8.2. 无线设备添加组网指令
POST /equipment/addwuless
Description
无线设备添加组网指令
Parameters
| Type | Name | Schema |
|---|---|---|
Query |
e |
string |
Query |
g |
string |
Query |
i |
string |
Query |
m |
string |
Query |
u |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.8.3. 查询用户下某个类型的设备
POST /equipment/geteidalleq
Description
查询所有的设备的接口说明
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
eid |
eid |
integer(int32) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< rongdu_equiment > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.8.4. 查询所有设备类型
POST /equipment/getetype
Description
查询所有设备类型
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< 设备类型表 > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.8.5. 查询用户下控制类OR采集类的设备
POST /equipment/gettypealleq
Description
查询用户下控制类OR采集类的设备的接口说明
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
type |
0:采集器 |
ref |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< rongdu_equiment > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.8.6. 查询用户下所有设备类型
POST /equipment/getuetype
Description
查询用户下所有设备类型
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< 设备类型信息 > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.8.7. 查询用户下所有的无线设备
POST /equipment/lesseq
Description
查询用户下所有的无线设备
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< rongdu_equiment > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.8.8. 查询所有设备
POST /equipment/seleq
Description
查询所有的设备的接口说明
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
eid |
eid |
string |
Query |
pageindex |
页码 |
ref |
Query |
pagesize |
条数 |
ref |
Query |
seach |
查询条件 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.8.9. 修改设备
POST /equipment/upeq
Description
修改设备的接口说明
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
collect |
采集时间 |
integer(int32) |
Query |
createtime |
创建时间 |
string(date-time) |
Query |
dianliang |
电量 |
string |
Query |
eid |
设备类型 |
integer(int32) |
Query |
emac |
设备Mac |
string |
Query |
ename |
设备名称 |
string |
Query |
eqversion |
设备版本 |
string |
Query |
etype |
设备类型(0,有线,1,无线) |
integer(int32) |
Query |
gmac |
网关MAC |
string |
Query |
gversion |
网关版本 |
string |
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
mhz |
无线设备频点 |
integer(int32) |
Query |
msg |
设备最后一次上传的消息 |
string |
Query |
remarks |
备注 |
string |
Query |
show_time_format |
string |
|
Query |
sort |
排序 |
integer(int32) |
Query |
tongdao |
通道 |
integer(int32) |
Query |
uid |
用户ID |
string |
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Query |
xinhao |
信号质量 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.9. 项目管理接口
项目管理文档说明
4.9.1. 添加项目用户
POST /xm/ComanyAdduserxm
Description
公司用户给其下用户添加项目权限
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
createtime |
创建时间 |
string(date-time) |
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
remarks |
备注 |
string |
Query |
show_time_format |
string |
|
Query |
type |
类型(0,主帐号关联项目,1.子帐号关联项目) |
integer(int32) |
Query |
uid |
用户ID |
string |
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Query |
xmid |
项目ID |
integer(int32) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.9.2. 删除项目用户
POST /xm/Comanydeluserxm
Description
公司用户给其下用户删除项目权限
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
createtime |
创建时间 |
string(date-time) |
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
remarks |
备注 |
string |
Query |
show_time_format |
string |
|
Query |
type |
类型(0,主帐号关联项目,1.子帐号关联项目) |
integer(int32) |
Query |
uid |
用户ID |
string |
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Query |
xmid |
项目ID |
integer(int32) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.9.3. 公司项目名级不是的用户
POST /xm/Comanynoxmuser
Description
公司项目名级不是的用户
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
xmid |
xmid |
integer(int32) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< 公司项目下用户 > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.9.4. 公司项目名及用户
POST /xm/Comanyxmuser
Description
公司项目名及用户
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
< 公司项目下用户 > array |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.9.5. 添加项目
POST /xm/addxm
Description
添加项目
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
createtime |
创建时间 |
string(date-time) |
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
rainfall |
未来七天降雨量(单位mm,用,隔开) |
string |
Query |
remark |
备注 |
string |
Query |
remarks |
备注 |
string |
Query |
show_time_format |
string |
|
Query |
uid |
uid |
string |
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Query |
xmid |
项目id |
integer(int32) |
Query |
xmlat |
项目纬度 |
string |
Query |
xmlng |
项目经度 |
string |
Query |
xmname |
项目名称 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.9.6. 删除项目
POST /xm/delxm
Description
删除项目
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
xmid |
xmid |
integer(int32) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
4.9.7. 修改项目
POST /xm/upxm
Description
修改项目
Parameters
| Type | Name | Description | Schema |
|---|---|---|---|
Query |
createtime |
创建时间 |
string(date-time) |
Query |
isvalid |
是否有效 |
integer(int32) |
Query |
rainfall |
未来七天降雨量(单位mm,用,隔开) |
string |
Query |
remark |
备注 |
string |
Query |
remarks |
备注 |
string |
Query |
show_time_format |
string |
|
Query |
uid |
uid |
string |
Query |
update_time_format |
string |
|
Query |
updatetime |
修改时间 |
string(date-time) |
Query |
xmid |
项目id |
integer(int32) |
Query |
xmlat |
项目纬度 |
string |
Query |
xmlng |
项目经度 |
string |
Query |
xmname |
项目名称 |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
OK |
|
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
Consumes
-
application/json
Produces
-
/
5. Definitions
5.1. APP升级类
| Name | Description | Schema |
|---|---|---|
company |
Example : |
string |
note |
Example : |
string |
status |
Example : |
integer(int32) |
url |
Example : |
string |
5.2. MsgInfo
返回消息类
| Name | Description | Schema |
|---|---|---|
id |
核心id |
string |
list |
附加数据 |
< object > array |
msg |
消息 |
string |
status |
状态 |
integer(int32) |
5.3. PageOfrongdu_equiment
| Name | Schema |
|---|---|
countStr |
< string > array |
countStrType |
< integer(int32) > array |
curPageNo |
integer(int32) |
curPageRecords |
integer(int32) |
dataList |
< rongdu_equiment > array |
pageSize |
integer(int32) |
startIndex |
integer(int32) |
totalPage |
integer(int32) |
totalRecords |
integer(int32) |
5.4. PageOf定时类
| Name | Schema |
|---|---|
countStr |
< string > array |
countStrType |
< integer(int32) > array |
curPageNo |
integer(int32) |
curPageRecords |
integer(int32) |
dataList |
< 定时类 > array |
pageSize |
integer(int32) |
startIndex |
integer(int32) |
totalPage |
integer(int32) |
totalRecords |
integer(int32) |
5.5. PageOf用户信息
| Name | Schema |
|---|---|
countStr |
< string > array |
countStrType |
< integer(int32) > array |
curPageNo |
integer(int32) |
curPageRecords |
integer(int32) |
dataList |
< 用户信息 > array |
pageSize |
integer(int32) |
startIndex |
integer(int32) |
totalPage |
integer(int32) |
totalRecords |
integer(int32) |
5.6. PageOf网关信息
| Name | Schema |
|---|---|
countStr |
< string > array |
countStrType |
< integer(int32) > array |
curPageNo |
integer(int32) |
curPageRecords |
integer(int32) |
dataList |
< 网关信息 > array |
pageSize |
integer(int32) |
startIndex |
integer(int32) |
totalPage |
integer(int32) |
totalRecords |
integer(int32) |
5.7. PageOf设备表
| Name | Schema |
|---|---|
countStr |
< string > array |
countStrType |
< integer(int32) > array |
curPageNo |
integer(int32) |
curPageRecords |
integer(int32) |
dataList |
< 设备表 > array |
pageSize |
integer(int32) |
startIndex |
integer(int32) |
totalPage |
integer(int32) |
totalRecords |
integer(int32) |
5.8. Time
| Name | Schema |
|---|---|
date |
integer(int32) |
day |
integer(int32) |
hours |
integer(int32) |
minutes |
integer(int32) |
month |
integer(int32) |
seconds |
integer(int32) |
time |
integer(int64) |
timezoneOffset |
integer(int32) |
year |
integer(int32) |
5.9. loginMsg
登陆状态返回
| Name | Description | Schema |
|---|---|---|
code |
Example : |
string |
msg |
Example : |
string |
statu |
Example : |
integer(int32) |
time |
Example : |
integer(int64) |
uid |
Example : |
string |
5.10. rongdu_equiment
| Name | Description | Schema |
|---|---|---|
collect |
采集时间 |
integer(int32) |
createtime |
创建时间 |
string(date-time) |
dianliang |
电量 |
string |
eid |
设备类型 |
integer(int32) |
emac |
设备Mac |
string |
ename |
设备名称 |
string |
eqversion |
设备版本 |
string |
etype |
设备类型(0,有线,1,无线) |
integer(int32) |
gmac |
网关MAC |
string |
gversion |
网关版本 |
string |
isvalid |
是否有效 |
integer(int32) |
mhz |
无线设备频点 |
integer(int32) |
msg |
设备最后一次上传的消息 |
string |
remarks |
备注 |
string |
show_time_format |
string |
|
sort |
排序 |
integer(int32) |
tongdao |
通道 |
integer(int32) |
update_time_format |
string |
|
updatetime |
修改时间 |
string(date-time) |
xinhao |
信号质量 |
string |
5.11. 公司项目下用户
| Name | Description | Schema |
|---|---|---|
rdxm |
项目 |
|
rdxmuser |
项目类型 |
< 用户信息 > array |
5.12. 区域信息
| Name | Description | Schema |
|---|---|---|
createtime |
创建时间 |
string(date-time) |
isvalid |
是否有效 |
integer(int32) |
remarks |
备注 |
string |
rid |
Example : |
integer(int32) |
rname |
Example : |
string |
rtype |
Example : |
integer(int32) |
show_time_format |
string |
|
uid |
Example : |
string |
update_time_format |
string |
|
updatetime |
修改时间 |
string(date-time) |
5.13. 天气农历项目经纬度信息
| Name | Description | Schema |
|---|---|---|
address |
Example : |
string |
fd |
Example : |
string |
grlang |
Example : |
string |
lat |
Example : |
string |
lgd |
Example : |
string |
lng |
Example : |
string |
nongli |
Example : |
string |
rainfall |
未来七天降雨量(单位mm,用,隔开) |
string |
sd |
Example : |
string |
state |
string |
|
temperature |
Example : |
string |
time |
Example : |
string |
updown |
Example : |
string |
xmname |
Example : |
string |
5.14. 定时类
| Name | Description | Schema |
|---|---|---|
closedate |
Example : |
string(date) |
createtime |
创建时间 |
string(date-time) |
isvalid |
是否有效 |
integer(int32) |
jgtime |
Example : |
integer(int32) |
opendate |
Example : |
string(date) |
opennum |
Example : |
integer(int32) |
opentime |
||
remarks |
备注 |
string |
show_time_format |
string |
|
suspend |
Example : |
integer(int32) |
tid |
Example : |
integer(int32) |
tname |
Example : |
string |
uid |
Example : |
string |
update_time_format |
string |
|
updatetime |
修改时间 |
string(date-time) |
5.15. 定时组
| Name | Description | Schema |
|---|---|---|
eqls |
< rongdu_equiment > array |
|
opentime |
Example : |
integer(int32) |
sort |
Example : |
integer(int32) |
tgid |
Example : |
integer(int32) |
tgname |
Example : |
string |
tid |
Example : |
integer(int32) |
5.16. 用户信息
| Name | Description | Schema |
|---|---|---|
company |
公司 |
string |
createtime |
创建时间 |
string(date-time) |
email |
邮箱 |
string |
fid |
上级用户ID |
string |
iphone |
用户联系电话 |
string |
isvalid |
是否有效 |
integer(int32) |
pwd |
密码 |
string |
remarks |
备注 |
string |
show_time_format |
string |
|
token |
token |
string |
uid |
用户ID |
string |
uname |
用户名称 |
string |
update_time_format |
string |
|
updatetime |
修改时间 |
string(date-time) |
utype |
用户类型(0,管理员,1,业务员,2,公司用户,3,普通用户,4,公司下用户) |
integer(int32) |
5.17. 用户管理平台首页信息
| Name | Description | Schema |
|---|---|---|
cityjoinurl |
地图下载链接 |
string |
gatewayls |
网关列表 |
< 网关与设备数 > array |
province |
省名 |
string |
5.18. 网关与设备数
| Name | Description | Schema |
|---|---|---|
counti |
Example : |
integer(int32) |
eqls |
< rongdu_equiment > array |
|
gmac |
Example : |
string |
gname |
Example : |
string |
lat |
纬度 |
string |
lng |
经度 |
string |
5.19. 网关信息
| Name | Description | Schema |
|---|---|---|
address |
网关当前所在地址 |
string |
connect |
连接模式(WIFI网络1:4G网络-4:3G网络-3:2G网络-2:有线-5) |
integer(int32) |
createtime |
创建时间 |
string(date-time) |
devcieid |
当前设备编号 |
string |
dianliang |
电量 |
string |
gmac |
网关Mac |
string |
gname |
网关名称 |
string |
gvid |
可升级的版本号 |
integer(int32) |
gvidpwd |
升级网关需要的密码 |
string |
imei |
imei号 |
string |
imsi |
imsi号 |
string |
iphonenumber |
手机号 |
string |
isdisplay |
是否带本地届面 |
integer(int32) |
isvalid |
是否有效 |
integer(int32) |
isvalid_time |
有效时间 |
string(date-time) |
lat |
纬度 |
string |
lng |
经度 |
string |
model |
网关型号 |
string |
rainfall |
未来七天降雨量 |
string |
remarks |
备注 |
string |
show_time_format |
string |
|
todao |
通道数量 |
integer(int32) |
uid |
用户ID |
string |
uname |
用户名称 |
string |
update_time_format |
string |
|
updatetime |
修改时间 |
string(date-time) |
version |
网关版本 |
string |
5.20. 网关表
| Name | Description | Schema |
|---|---|---|
address |
网关当前所在地址 |
string |
connect |
连接模式(WIFI网络1:4G网络-4:3G网络-3:2G网络-2:有线-5) |
integer(int32) |
createtime |
创建时间 |
string(date-time) |
devcieid |
当前设备编号 |
string |
dianliang |
电量 |
string |
gmac |
网关Mac |
string |
gname |
网关名称 |
string |
gvid |
可升级的版本号 |
integer(int32) |
gvidpwd |
升级网关需要的密码 |
string |
imei |
imei号 |
string |
imsi |
imsi号 |
string |
iphonenumber |
手机号 |
string |
isdisplay |
是否带本地届面 |
integer(int32) |
isvalid |
是否有效 |
integer(int32) |
isvalid_time |
有效时间 |
string(date-time) |
lat |
纬度 |
string |
lng |
经度 |
string |
model |
网关型号 |
string |
rainfall |
未来七天降雨量 |
string |
remarks |
备注 |
string |
show_time_format |
string |
|
todao |
通道数量 |
integer(int32) |
uid |
用户ID |
string |
update_time_format |
string |
|
updatetime |
修改时间 |
string(date-time) |
version |
网关版本 |
string |
5.21. 设备历史数据
| Name | Description | Schema |
|---|---|---|
ldate |
设备返回时间,毫秒时间 |
integer(int64) |
msg |
设备消息 |
string |
5.22. 设备类型信息
| Name | Description | Schema |
|---|---|---|
createtime |
创建时间 |
string(date-time) |
eid |
设备类型 |
integer(int32) |
eqcout |
设备总数 |
integer(int32) |
etypename |
设备类型名称 |
string |
fonticon |
阿里iconfont |
string |
isvalid |
是否有效 |
integer(int32) |
remarks |
备注 |
string |
show_time_format |
string |
|
update_time_format |
string |
|
updatetime |
修改时间 |
string(date-time) |
valshow |
前端显示字段(对应msg中的值 用,隔开) |
string |
valtype |
设备类型(0:控制器,1:采集器) |
integer(int32) |
5.23. 设备类型表
| Name | Description | Schema |
|---|---|---|
createtime |
创建时间 |
string(date-time) |
eid |
设备类型 |
integer(int32) |
etypename |
设备类型名称 |
string |
fonticon |
阿里iconfont |
string |
isvalid |
是否有效 |
integer(int32) |
remarks |
备注 |
string |
show_time_format |
string |
|
update_time_format |
string |
|
updatetime |
修改时间 |
string(date-time) |
valshow |
前端显示字段(对应msg中的值 用,隔开) |
string |
valtype |
设备类型(0:控制器,1:采集器) |
integer(int32) |
5.24. 设备表
| Name | Description | Schema |
|---|---|---|
collect |
采集时间 |
integer(int32) |
createtime |
创建时间 |
string(date-time) |
dianliang |
电量 |
string |
eid |
设备类型 |
integer(int32) |
emac |
设备Mac |
string |
ename |
设备名称 |
string |
eqversion |
设备版本 |
string |
etype |
设备类型(0,有线,1,无线) |
integer(int32) |
gmac |
string |
|
gname |
string |
|
gversion |
网关版本 |
string |
isvalid |
是否有效 |
integer(int32) |
mhz |
无线设备频点 |
integer(int32) |
msg |
设备最后一次上传的消息 |
string |
remarks |
备注 |
string |
show_time_format |
string |
|
sort |
排序 |
integer(int32) |
tongdao |
通道 |
integer(int32) |
uid |
string |
|
uname |
string |
|
update_time_format |
string |
|
updatetime |
修改时间 |
string(date-time) |
xinhao |
信号质量 |
string |
5.25. 项目表
| Name | Description | Schema |
|---|---|---|
createtime |
创建时间 |
string(date-time) |
isvalid |
是否有效 |
integer(int32) |
rainfall |
未来七天降雨量(单位mm,用,隔开) |
string |
remark |
备注 |
string |
remarks |
备注 |
string |
show_time_format |
string |
|
update_time_format |
string |
|
updatetime |
修改时间 |
string(date-time) |
xmid |
项目id |
integer(int32) |
xmlat |
项目纬度 |
string |
xmlng |
项目经度 |
string |
xmname |
项目名称 |
string |