Browse Source

更新 '数据接口文档.md'

fengyanjie 4 years ago
parent
commit
4771e5cd88
1 changed files with 51 additions and 3 deletions
  1. 51 3
      数据接口文档.md

+ 51 - 3
数据接口文档.md

@@ -1096,7 +1096,7 @@ locationid=5408 //位置id
 }
 
 ```
-####更新接口 基础接口:  特色电井控制商铺
+#### 基础接口:  特色电井控制商铺
 
 接口说明
 
@@ -1116,6 +1116,50 @@ GET /data/sms_shops/query
 floor=f1 //楼层 (选填)
 orderBy: floor,1;welldesm,1;meterbox,1; //排序字段 (选填)
 plazaId: 1000772 //广场id  (必填)
+keyword: 4001:welldes,meterbox,shopsnumList; //电井,电表号,商铺编号列表,商铺名称 模糊搜索 (选填)
+         
+```
+返回内容
+
+```json
+{
+    "result": "success",
+    "data": [
+        {
+            "f1": [
+                {
+                    "floor": "f1",
+                    "seq": 100,
+                    "wellnum": "1173",
+                    "welldes": "商业楼/1层/百货楼/百货楼-强电井-2号强电井",
+                    "meterbox": "W1-1AP2",
+                    "shopsnumList": "1050,1031A,B1002A"
+                }
+            ]
+        }
+    ]
+}
+```
+####(返回商铺信息)基础接口:  特色电井控制商铺
+
+接口说明
+
+```
+添加商铺信息,增加按商铺名称搜索
+```
+
+请求地址
+
+```
+GET /data/sms_shops/queryBrand
+```
+
+请求参数
+
+```
+floor=f1 //楼层 (选填)
+orderBy: floor,1;welldesm,1;meterbox,1; //排序字段 (选填)
+plazaId: 1000772 //广场id  (必填)
 keyword: 4001:welldes,meterbox,shopsnumList,shopList; //电井,电表号,商铺编号列表,商铺名称 模糊搜索 (选填)
          
 ```
@@ -1134,8 +1178,12 @@ keyword: 4001:welldes,meterbox,shopsnumList,shopList; //电井,电表号,商
                     "wellnum": "1173",
                     "welldes": "商业楼/1层/百货楼/百货楼-强电井-2号强电井",
                     "meterbox": "W1-1AP2",
-                    "brandname":"MUJI",
-                    "shopsnumList": "1050,1031A,B1002A"
+                    "shopList":[
+                        {
+                        "brandname":"MUJI",
+                        "shopsnumList": "1050,1031A,B1002A"
+                        }
+                    ]
                 }
             ]
         }