Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 1.79 KB

接口需求文档.md

File metadata and controls

32 lines (17 loc) · 1.79 KB

进入车位详情后=>

(进入车位详情开始WebSocket通信,或是点击 "选定改车位"按钮后)

点击 "选定该车位"按钮=>

1. 用户选定了一个车位后,车位是否已经被使用,是否执行了插枪动作?(插枪动作是否可以,在未从小程序选定车位就可以插枪?插枪时硬件判断未在小程序上选定车位)
2. 后台给出5分钟倒计时的结束时间
3. 取消充电清除5分钟倒计时状态
4. 重选车位结束通信清除状态
5. 选定了一个车位后,是否执行了插枪动作
6. 用户点击确定并开始充电
7. 充电百分比
8. 充电时长(毫秒数)
9. 充电度数
10.后台给出充电完成30分钟倒计时的结束时间(以车辆是否驶离该车位 或 以用户执行拔出电枪操作 做结束判断?)
11.取消充电完成30分钟倒计时状态
12.超时扣费
13.充电完成结束通信

{"tasteType":"","APPid":"wx875dcc460cfe82ae","AppSecret":"88d8aa84e75f5976daf009191eece704","code":"","token":"eyJhbGciOiJIUzUxMiJ9.eyJjb21wYW55SW5mb0lkIjpudWxsLCJuaWNrTmFtZSI6IuWNoeW4g-Wlh-ivuueahOWvhuivrSIsInJvbGVJZCI6bnVsbCwibW9iaWxlIjoiMTgyNTA3MzQ5NzUiLCJ1c2VyTmFtZSI6IjE4MjUwNzM0OTc1IiwidXNlcklkIjo4LCJsaWZ0QmFuVGltZSI6IjIwMTktMDUtMTAgMTY6MzQ6MDMiLCJyZWFsTmFtZSI6IjE4MjUwNzM0OTc1IiwibG9naW5UaW1lIjoiMjAxOS0wNS0xNyAxMzo1OTo1NSIsInBlcm1pc3Npb25TdHJzIjoiW10iLCJhdWRpdFN0YXR1cyI6bnVsbCwidXNlclR5cGUiOjEsInN0YXR1cyI6MSwic3RhdGlvbklkIjpudWxsfQ.36moIM_wyvVUv09q1JgzDQCAu4ueFSD5JNIh2C774P_UxQE6mks16M8Ld4EoS5RzxlFZkeSRB-dEy0XRHxgkEg","readNum":"","userId":"","timer":"","canIUse":"","firstInto":"","isLong":"","sessionId":"PyB0ZH61eg9u88iQjaOS7w==","family":{"studentId":"","parentId":"","studentName":""}}