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
3346a3e5
Commit
3346a3e5
authored
Nov 22, 2016
by
zhangxiaolin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add 12.12
parent
b964ac4e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
7 deletions
+71
-7
ascle.yaml
ascle.yaml
+71
-7
No files found.
ascle.yaml
View file @
3346a3e5
...
@@ -1042,16 +1042,14 @@ paths:
...
@@ -1042,16 +1042,14 @@ paths:
total_counts
:
list内含1或3元素
total_counts
:
list内含1或3元素
services
:
services
:
-
short_description
:
美购描述
-
short_description
:
美购描述
id
:
21美购申请id
id
:
21
,
美购申请id
submit_time
:
提交时间
submit_time
:
提交时间
status
:
int, 对应审核状态gaia.SERVICE_REVIEW_STATUS
status
:
int, 对应审核状态gaia.SERVICE_REVIEW_STATUS
is_online
:
是否上线
is_online
:
是否上线
gengmei_price
:
123
gengmei_price
:
123
pre_payment_price
:
123
pre_payment_price
:
123
online_time
:
21
online_time
:
21
# add 11/15, 私信发美购
blocked
:
true
or
false
@new at 12.12,被锁定不能编辑
service_id
:
美购id
image_header
:
美购图片
# ----Skyler start--------------------
# ----Skyler start--------------------
/service
:
/service
:
get
:
get
:
...
@@ -2224,6 +2222,41 @@ paths:
...
@@ -2224,6 +2222,41 @@ paths:
data
:
data
:
-
id
:
活动id
-
id
:
活动id
name
:
活动名字
name
:
活动名字
# ---------------------------------------
/activity/my
:
get
:
summary
:
医生参加的活动列表
description
:
列表,多个tab展示
parameters
:
-
name
:
type
in
:
query
description
:
查询关键字,默认全部,说明链接:wwww....
required
:
false
type
:
int
format
:
int
tags
:
-
Activity
responses
:
'
200'
:
description
:
ok
schema
:
{}
examples
:
application/json
:
error
:
0
message
:
'
'
data
:
counts
:
total
:
总数量
unhandle
:
未处理
rejected
:
已驳回
resubmit
:
重新提交
succeed
:
成功
items
:
-
activity_name
:
活动名字
service_name
:
美购名称
item_name
:
多属性
submit_time
:
提交时间
status
:
状态
# ---------------------------------------
# ---------------------------------------
/activity/{activity_id}
:
/activity/{activity_id}
:
get
:
get
:
...
@@ -2268,8 +2301,8 @@ paths:
...
@@ -2268,8 +2301,8 @@ paths:
# ------------------------
# ------------------------
/activity/{activity_id}/service
:
/activity/{activity_id}/service
:
post
:
post
:
summary
:
添加
一个活动美购
summary
:
提交申请
一个活动美购
description
:
提交一个美购信息,
一次只能提交一个
description
:
一次只能提交一个
parameters
:
parameters
:
-
name
:
activity_id
-
name
:
activity_id
in
:
path
in
:
path
...
@@ -2305,7 +2338,37 @@ paths:
...
@@ -2305,7 +2338,37 @@ paths:
apply_id
:
int
apply_id
:
int
# ----------------------------------------------
# ----------------------------------------------
/activity/{activity_id}/service/{seckill_apply_id}
:
/activity/{activity_id}/service/{seckill_apply_id}
:
delete
:
get
:
summary
:
编辑查看秒杀项信息
description
:
获得某个活动下某个秒杀项的信息,不管是编辑还是查看都是这个接口
tags
:
-
Activity
responses
:
'
200'
:
description
:
ok
schema
:
{}
examples
:
application/json
:
error
:
0
message
:
'
'
data
:
name
:
活动名字
start_time
:
开始时间
end_time
:
结束时间
describe
:
活动详细说明
service_name
:
美购名称
item_name
:
属性名称
gengmei_price
:
更美价
seckill_price
:
秒杀价
stock
:
限购数量
status
:
状态,报名成功,驳回...
reject_records
:
驳回记录,可能有多条
- id
:
驳回对应的id
message
:
驳回信息
time
:
驳回记录时间
# ---------------------------------------
/activity/{activity_id}/service/{seckill_apply_id}/delete
:
post
:
summary
:
删除一个活动美购
summary
:
删除一个活动美购
description
:
删除一个活动美购
description
:
删除一个活动美购
parameters
:
parameters
:
...
@@ -2330,3 +2393,4 @@ paths:
...
@@ -2330,3 +2393,4 @@ paths:
error
:
0
error
:
0
message
:
'
'
message
:
'
'
data
:
data
:
# ---------------------------------------
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