From 09975271ade904094e0d89b743247d0794d8549f Mon Sep 17 00:00:00 2001 From: aarongao Date: Fri, 10 Jan 2020 16:15:19 +0800 Subject: [PATCH] . --- README.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index ca1217b..7044a97 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,9 @@ #### /AccessLog (POST) + +增加访问日志 + | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| | UserId | 5dfb03070a9ac17ac7a82054 | string | 用户ID | Yes | @@ -57,6 +60,9 @@ #### /AllCommodity (GET) + +查询所有商品 + | Code | Type | Model | Message | |-----|-----|-----|-----| | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Price=价格;ShopName=店铺名称;KvPhoto用于列表页的图片;TopPhoto详情页最上面的轮播图;Images详情页下面的产品详细图 | @@ -68,6 +74,9 @@ #### /AllItems (GET) + +查询所有游玩项目 + | Code | Type | Model | Message | |-----|-----|-----|-----| | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Tags所属标签,标签有分类;LimitHeight限高;PlayDuration游玩时长;SceneTime场次时间;Picture照片;Voice音频;AverageConsumption平均消费;Menu菜单 | @@ -79,6 +88,9 @@ #### /AllLine (GET) + +查询所有线路 + | Code | Type | Model | Message | |-----|-----|-----|-----| | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Name名称;SubName副标题;PlayDuration游玩时长;Suitable适合人群;Location线路点坐标;Annotations需要点亮的设施id;Distance距离 | @@ -90,6 +102,9 @@ #### /AllScenic (GET) + +所有景区基础信息 + | Code | Type | Model | Message | |-----|-----|-----|-----| | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | | @@ -101,6 +116,9 @@ #### /CommodityInfo (GET) + +查询商品信息 + | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| | id | 5dfb03070a9ac17ac7a82054 | string | id | Yes | @@ -117,6 +135,9 @@ #### /CreateComplaint (POST) + +增加投诉 + | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| | mobile | 18616619599 | string | 联系电话 | Yes | @@ -136,6 +157,9 @@ #### /CreateUser (POST) + +用户注册 + | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| | password | 1 | string | 密码 | Yes | @@ -157,6 +181,9 @@ #### /ItemInfo (GET) + +查询设备信息 + | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| | id | 5dfb03070a9ac17ac7a82054 | string | 设备id | Yes | @@ -173,6 +200,9 @@ #### /LineInfo (GET) + +查询线路信息 + | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| | id | 5dfb03070a9ac17ac7a82054 | string | id | Yes | @@ -189,6 +219,9 @@ #### /LoginUser (POST) + +用户登录 + | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| | mobile | aaron | string | 用户名 | Yes | @@ -206,6 +239,9 @@ #### /ScenicInfo (GET) + +返回景区基础信息 + | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| | id | 5dfb03070a9ac17ac7a82054 | string | 景区id | Yes | @@ -222,6 +258,9 @@ #### /Tags (GET) + +标签列表 + | Code | Type | Model | Message | |-----|-----|-----|-----| | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | {"errcode":0,"result":[{"Type":"menu","Name":"服务设施"},{"Type":"normal","Name":"不错"},{"Type":"thrilling","Name":"刺激"},{"Type":"recommend","Name":"必玩"}]} | @@ -233,6 +272,9 @@ #### /UpdateCommodity (POST) + +更新商品 + | Code | Type | Model | Message | |-----|-----|-----|-----| | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | | @@ -244,6 +286,9 @@ #### /UpdateItem (POST) + +更新设施 + | Code | Type | Model | Message | |-----|-----|-----|-----| | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | Tags所属标签,标签有分类;LimitHeight限高;PlayDuration游玩时长;SceneTime场次时间;Picture照片;Voice音频;AverageConsumption平均消费;Menu菜单 | @@ -255,6 +300,9 @@ #### /UpdateItemTime (POST) + +更新等待时间 + | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| | item | [{"id":"5df864740a9ac17ac7a7feb8","time":"20"},{"id":"5df8660924e03417008b4567","time":"33"}] | string | 设备列表 | Yes | @@ -271,6 +319,9 @@ #### /UpdateLine (POST) + +更新线路 + | Code | Type | Model | Message | |-----|-----|-----|-----| | 200 | object | [ResponseSeccess](#github.com.aarongao.tools.ResponseSeccess) | | @@ -282,6 +333,9 @@ #### /UpdateScenic (POST) + +更新景区基础信息 + | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| | id | 5dfb03070a9ac17ac7a82054 | string | 景区id | Yes | @@ -298,6 +352,9 @@ #### /Upload (POST) + +上传 + | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| | file | 1 | file | 文件 | Yes | @@ -314,6 +371,9 @@ #### /UserInfo (GET) + +获取用户信息 + | Param Name | Example | Data Type | Description | Required? | |-----|-----|-----|-----|-----| | id | aaron | string | 用户id | Yes | -- libgit2 0.21.0