Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
api_document
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
backend
api_document
Commits
b20fd3bf
Commit
b20fd3bf
authored
Aug 30, 2016
by
zhangxiaolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成所有接口
parent
4878d66c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
9 deletions
+77
-9
ascle.yaml
ascle.yaml
+77
-9
No files found.
ascle.yaml
View file @
b20fd3bf
...
@@ -928,6 +928,80 @@ paths:
...
@@ -928,6 +928,80 @@ paths:
-
name
:
选项
-
name
:
选项
id
:
选项id
id
:
选项id
# ------------------------
# ------------------------
/service/search
:
get
:
summary
:
搜索美购列表
description
:
两类,分审核未通过的列表和已通过的列表
parameters
:
-
name
:
type
in
:
query
description
:
标识是那种类型,0是不通过的,1是通过的
required
:
true
type
:
integer
format
:
integer
-
name
:
q
in
:
query
description
:
过滤关键词,必须要,不能为空
required
:
true
type
:
string
format
:
string
tags
:
-
Service
responses
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
message
:
'
'
error
:
0
data
:
-
total_count
:
10
services
:
-
name
:
美购描述
id
:
21
submit_time
:
提交时间
status
:
状态码,int
-
total_count
:
10
services
:
-
name
:
美购描述
id
:
21
submit_time
:
提交时间
status
:
状态码,int
-
total_count
:
10
services
:
-
name
:
美购描述
id
:
21
submit_time
:
提交时间
status
:
状态码,int
# ------------------------
/service/status
:
summary
:
发送上下线请求
description
:
parameters
:
-
name
:
type
in
:
query
description
:
上线或是下线,使用ascle.type PESSS_SERVICE_REVIEW_LIST_TYPES,11上,12下
required
:
true
type
:
integer
format
:
integer
-
name
:
id
in
:
query
description
:
申请美购的 id
required
:
true
type
:
integer
format
:
integer
tags
:
-
Service
responses
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
message
:
'
'
error
:
0
data
:
null
# ------------------------
# ------------------------
/service/review
:
/service/review
:
get
:
get
:
...
@@ -940,7 +1014,7 @@ paths:
...
@@ -940,7 +1014,7 @@ paths:
required
:
true
required
:
true
type
:
integer
type
:
integer
format
:
integer
format
:
integer
-
name
:
ask_all_count
-
name
:
ask_all_count
s
in
:
query
in
:
query
description
:
是否需要全部的数字,默认不需要,传true or
false
description
:
是否需要全部的数字,默认不需要,传true or
false
required
:
false
required
:
false
...
@@ -964,19 +1038,13 @@ paths:
...
@@ -964,19 +1038,13 @@ paths:
error
:
0
error
:
0
data
:
data
:
size
:
10
size
:
10
current_bar_counts
:
当前bar的总数量
total_counts
:
[
1
,
2
,
3
]
or [1]
all_counts
:
new
:
12
old
:
213
special
:
这三个或者下面三个
all
:
213
online
:
123
offline
:
213
services
:
services
:
-
name
:
美购描述
-
name
:
美购描述
id
:
21
id
:
21
submit_time
:
提交时间
submit_time
:
提交时间
status
:
状态码,int
status
:
状态码,int
bar_status
:
这条记录从属那个bar
# ----Skyler start--------------------
# ----Skyler start--------------------
/service
:
/service
:
get
:
get
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment