Explorar el Código

添加缓存架http测试

ajun hace 5 años
padre
commit
d8c9a04bec
Se han modificado 1 ficheros con 27 adiciones y 2 borrados
  1. 27 2
      tests/webApi/cacheShelf.http

+ 27 - 2
tests/webApi/cacheShelf.http

@@ -1,9 +1,29 @@
 ###
-# 推送任务
+# 亮灯
+POST http://bswas/api/station/cacheShelf/lightOn
+Content-Type: application/json
+
+{
+    "id": "",
+    "code": "",
+    "index": "",
+    "x": "x",
+    "y": "y"
+}
+
+###
+
+###
+# 拍灯任务
 POST http://bswas/api/station/cacheShelf/pushTask
 Content-Type: application/json
 
-{}
+{
+    "id": "",
+    "code": "",
+    "index": ""
+}
+
 ###
 
 ###
@@ -11,4 +31,9 @@ Content-Type: application/json
 GET http://bswas/api/station/cacheShelf/getTasks
 Content-Type: application/json
 
+{
+    "id": ""
+}
+
 ###
+