ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 一、接口 ~~~[api] post:/iot/queryflow *string:appId=13567890#联系我们获取 *string:timeStamp=1567891234#当前时间戳,10位数字,该时间戳在50秒内会失效,50秒后访问该地址,会返回请求时间戳不合法; *string:sign=xxrreedfasdfsafsfs231999999oo#签名,按照约定规则 *usercode#用户码 <<< success { "responseMessage": "成功", "responseCode": 1, "requestStartTime": 1592405014546, "requestEndTime": 1592405015451, "responseCostTime": "905毫秒", "feedback": { "isBusinessSuccess": true, "executionMessage": "实时接口,直接显示查询结果", "data": { "LIFECYCLE_USED_FLOW":"12G" "TOTAL_FLOW": "10G", "USED_FLOW": "9G", "LEFT_FLOW": "1G" "flowusagelist":[{ START_TIME:'2020-07-02 12:12:12' EXPIRE_TIME:2020-08-01 12:12:12 PACKAGE_NAME:'流量包名字', PACKAGE_ID:1, TOTAL_FLOW:12G }]; } } } <<< error { "responseMessage": "失败", "responseCode": -99, "requestStartTime": 1584838082054, "requestEndTime": 1584838082874, "responseCostTime": "820毫秒" } ~~~ | 序号 | 字段 | 说明 | | --- | --- |--- | | 1 | LIFECYCLE_USED_FLOW| 卡生命周期内总用量,永不清零,类似汽车里程表 | | 2 | TOTAL_FLOW| 本月卡总可用流量,当前卡片额度用完,会清零 | | 3 | USED_FLOW| 本月卡已用流量 ,当前卡片额度用完,会清零 | | 4 | LEFT_FLOW| 本月卡剩余可用流量 ,当前卡片额度用完,会清零 |