> **应用场景**: > 车场上传本地的通道信息,用于云端查看;车道监控功能的使用需云端存在通道信息 Java调用接口:UploadUtil.uploadData(String jsonData) | 名称 | 说明 | 类型|最大长度 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- | --- | service_name |接口名称| String|64 |upload_gate| 是 data_target |上传位置 |String|8 |cloud |是 passname|通道名称 |String|24 |南门入口 |是 passtype |进出方向| Number| 8 | 0:入口,1:出口,2出入口 |是 operate_type |操作类型| Number| 2 |1添加2修改3删除| 是 channel_id |通道编号| String| 16|A1|是 > 示例: > {"service_name":"upload_gate","data_target":"cloud","passname":"测试2222","operate_type":1,"passtype":2,"resume":"ceshi111","channel_id":"aaa1"} * * * * * **方法调用异步返回结果,在下行接口监听处获取对应service_name的返回结果:** | 名称 | 说明 | 类型|最大长度 | 示例 | 是否必传字段 | | --- | --- | --- | --- | --- |--- | state |状态 | Number|2 |0失败1成功| 是 errmsg |方法返回描述| String| 48 | upload data success! |是 service_name |接口名称| String|64 |upload_gate| 是 channel_id |通道编号| String |16| A1|是 |park_id |车场编号| String|24 |test001| 否 > 示例: > {"state":1,"service_name":"upload_gate","errmsg":"上传成功","park_id":"test001","channel_id":"aaa1"}