Commit 19dfa429 authored by zhangxiaolin's avatar zhangxiaolin

update

parent 07427173
......@@ -15,9 +15,38 @@ paths:
- Account
responses:
'200':
description: 用户信息
default:
description: Unexpected error
description: OK
schema: {}
examples:
application/json:
error_code: 0
success: true
data:
doctor:
department: 美容外科
phone: '15288842299'
accept_reserve: true
name: 王飏
portrait: http://wanmeizhensuo.qiniudn.com/2015/02/14/9c808ed226
introduction: introduction
id: wangyang
title: 主治医师
is_online: false
user:
in_blacklist: false
phone: '12345678912'
address: ''
id: 602329
portrait: http://wanmeizhensuo.qiniudn.com/2015/02/14/9c808ed226
city: 台北
real_name: ''
nick_name: 王飏 医生
hospital:
name: 济南鹏爱整形美容医院
id: jnpayl
error: 0
message: ''
# ------------------------
/account/captcha:
get:
summary: 图片验证码
......@@ -28,8 +57,6 @@ paths:
responses:
'200':
description: 图片验证码
default:
description: Unexpected error
/account/login:
post:
summary: 登录
......@@ -64,8 +91,7 @@ paths:
responses:
'200':
description: An array of price estimates by product
default:
description: Unexpected error
# ------------------------
/agreement/<id>:
get:
summary: 协议详情
......@@ -75,6 +101,20 @@ paths:
responses:
'200':
description: An array of price estimates by product
schema: {}
examples:
application/json:
error_code: 0
success: true
data:
status: 1
title: 0123456789012345
content: 阿斯蒂芬
agree_time: 1470416242
id: 2
error: 0
message: ''
# ------------------------
/agreement/<id>/accept:
post:
summary: 接受协议
......@@ -84,6 +124,7 @@ paths:
responses:
'200':
description: OK
# ------------------------
/agreement/no_accepted:
get:
summary: 没有接受的协议列表
......@@ -93,7 +134,24 @@ paths:
responses:
'200':
description: OK
/agreement/:
schema: {}
examples:
application/json:
error_code: 0
success: true
data:
- send_time: 1470137721
content: zcxklvnkj.bfak.wbf分爱死了的女阿克苏的那款那棵树的部分款
title: 第三个
id: 3
- send_time: 1470137721
content: 阿斯蒂芬
title: 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
id: 2
error: 0
message: ''
# ------------------------
/agreement:
get:
summary: 接受的协议列表
description: 按照分页返回协议列表
......@@ -115,6 +173,27 @@ paths:
responses:
'200':
description: OK
schema: {}
examples:
application/json:
error_code: 0
success: true
data:
accepted_list:
- send_time: 1470137721
content: zcxklvnkj.bfak.wbf分爱死了的女
title: 第三个
id: 3
- send_time: 1470137721
content: 阿斯蒂芬
title: 012345678901234567890123
id: 2
size: 10
total: 3
page: 1
error: 0
message: ''
# ------------------------
/bulletin:
get:
summary: 公告列表
......@@ -136,6 +215,7 @@ paths:
content_id: 2
error_code: 0
success: true
# ------------------------
/bulletin/<id>:
get:
summary: 公告详情
......@@ -157,6 +237,7 @@ paths:
error: 0
success: true
error_code: 0
# ------------------------
/order:
get:
summary: 订单列表
......@@ -200,3 +281,5 @@ paths:
error: 0
success: true
error_code: 0
# ------------------------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment