commit | af934eef577800a520202bdd42dfe084d863794d | [log] [tgz] |
---|---|---|
author | Tang Cheng <cheng.tang@supwisdom.com> | 周日 8月 06 22:46:04 2017 +0800 |
committer | Tang Cheng <cheng.tang@supwisdom.com> | 周日 8月 06 22:46:04 2017 +0800 |
tree | edc8e8e75b78b24e93b61d65f08f0ff8e9c6f5af | |
parent | f33695a3339d0e75d1014a0cf4a5686e9c006cba [diff] |
修改读卡库接口
diff --git "a/source/_posts/\344\270\200\345\215\241\351\200\232\350\257\273\345\215\241\346\234\215\345\212\241\346\216\245\345\217\243\346\226\207\346\241\243.md" "b/source/_posts/\344\270\200\345\215\241\351\200\232\350\257\273\345\215\241\346\234\215\345\212\241\346\216\245\345\217\243\346\226\207\346\241\243.md" index 776714a..1be201b 100644 --- "a/source/_posts/\344\270\200\345\215\241\351\200\232\350\257\273\345\215\241\346\234\215\345\212\241\346\216\245\345\217\243\346\226\207\346\241\243.md" +++ "b/source/_posts/\344\270\200\345\215\241\351\200\232\350\257\273\345\215\241\346\234\215\345\212\241\346\216\245\345\217\243\346\226\207\346\241\243.md"
@@ -4,7 +4,7 @@ tags: --- -* **version : 1.5** +* **version : 1.6** ## 错误码定义 * 100 - 一般错误 @@ -44,6 +44,28 @@ `request_token` : verify 成功后返回 request_token `token_expired` : verify 成功后返回的 token 的有效期 +## 获取读卡库支持配置清单 +* **URL: /5/config_list** + +* **请求方式** +`GET` + +* **请求参数** +无 + +* **返回** +`config`: 支持的配置清单,{ "id" : ... , "desc": ... } 对象数组 + +## 加载读卡器配置 +* **URL: /5/init** +`POST` + +* **请求参数** +`id`: 配置 ID 号 + +* **返回** +无 + ## 读卡器控制 * **URL: /4/device/<action>** @@ -495,3 +517,5 @@ `read`: 读取水控参数卡 `recycle`: 回收水控参数卡 + +