Commit f014e88b authored by RobertDing's avatar RobertDing

Merge branch 'master' of git.gengmei.cc:zhangyunyu/swagger

parents 267d8cb8 5b804f97
......@@ -65,6 +65,13 @@ paths:
responses:
'200':
description: OK
schema: {}
examples:
application/json:
error: 0
message: ''
data:
# ------------------------
/account/captcha:
get:
......@@ -75,7 +82,13 @@ paths:
- Account
responses:
'200':
description: ok
responses: ok
schema: {}
examples:
application/json:
error: 0
message: ''
data:
# ------------------------
/account/login:
post:
......@@ -140,7 +153,7 @@ paths:
error: 0
message: ''
# ------------------------
account/logout:
/account/logout:
post:
summary: 登录出去
description: 登录出去
......@@ -156,7 +169,7 @@ paths:
message: ''
data: null
# ------------------------
account/code:
/account/code:
post:
summary: 发送手机验证码
description: 发送手机验证码
......@@ -179,7 +192,7 @@ paths:
message: ''
data: null
# ------------------------
account/password:
/account/password:
post:
summary: 更改密码
description: 更改密码
......@@ -280,12 +293,6 @@ paths:
required: false
type: integer
format: integer
- name: size
in: query
description: 请求多少条数据,默认为10
required: false
type: integer
format: integer
tags:
- Agreement
responses:
......@@ -314,6 +321,13 @@ paths:
get:
summary: 公告列表
description: 医生公告列表
parameters:
- name: page
in: formData
description: 第几页,默认为1
required: false
type: integer
format: integer
tags:
- bulletin
responses:
......@@ -325,10 +339,14 @@ paths:
error: 0
message: ''
data:
- date: 1458730446
image: 'http://hera.s.gmei.com/bulletin/2016/03/23/b3e00f8825'
title: 我的第一个公告
content_id: 2
page: 1
size: 10
total: 3
bulletints:
- date: 1458730446
image: 'http://hera.s.gmei.com/bulletin/2016/03/23/b3e00f8825'
title: 我的第一个公告
content_id: 2
# ------------------------
/bulletin/{id}:
get:
......@@ -546,7 +564,7 @@ paths:
parameters:
- name: id
in: path
description: 对帐单ID
description: 单ID
required: true
type: integer
format: integer
......@@ -601,6 +619,7 @@ paths:
hospital_payment: 0
refund_time: 1470394763
id: '3138635937'
order_id: 3138635937
gengmei_price: 1
- name: 【北京@刘浩】test003专用测试,请勿修改或删除,谢谢合作!
status: '已验证'
......@@ -610,6 +629,7 @@ paths:
hospital_payment: 331
refund_time: 1470160719
id: '4626252114'
order_id: 3138635937
gengmei_price: 333
# ------------------------
/refund/{id}:
......@@ -624,8 +644,9 @@ paths:
schema: {}
examples:
application/json:
data:
id: 123
data:
id: 123
order_id: 123
service_id: 234
service_name: '美购名称'
items: '实际购买属性'
......
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