Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
swagger
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
张允禹
swagger
Commits
594b800f
Commit
594b800f
authored
8 years ago
by
RobertDing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.gengmei.cc:zhangyunyu/swagger
parents
c0d10518
2d9bbcf9
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
88 additions
and
13 deletions
+88
-13
ascle.yaml
ascle.yaml
+88
-13
No files found.
ascle.yaml
View file @
594b800f
...
@@ -47,6 +47,8 @@ paths:
...
@@ -47,6 +47,8 @@ paths:
post
:
post
:
summary
:
修改用户信息
summary
:
修改用户信息
description
:
修改用户信息
description
:
修改用户信息
consumes
:
-
application/x-www-form-urlencoded
parameters
:
parameters
:
-
name
:
good_at
-
name
:
good_at
in
:
formData
in
:
formData
...
@@ -94,6 +96,8 @@ paths:
...
@@ -94,6 +96,8 @@ paths:
post
:
post
:
summary
:
登录
summary
:
登录
description
:
登录
description
:
登录
consumes
:
-
application/x-www-form-urlencoded
parameters
:
parameters
:
-
name
:
name
-
name
:
name
in
:
formData
in
:
formData
...
@@ -157,6 +161,8 @@ paths:
...
@@ -157,6 +161,8 @@ paths:
post
:
post
:
summary
:
登录出去
summary
:
登录出去
description
:
登录出去
description
:
登录出去
consumes
:
-
application/x-www-form-urlencoded
tags
:
tags
:
-
Account
-
Account
responses
:
responses
:
...
@@ -172,13 +178,27 @@ paths:
...
@@ -172,13 +178,27 @@ paths:
/account/code
:
/account/code
:
post
:
post
:
summary
:
发送手机验证码
summary
:
发送手机验证码
description
:
发送手机验证码
description
:
未登录情况下,发送手机验证码
consumes
:
-
application/x-www-form-urlencoded
tags
:
tags
:
-
Account
-
Account
parameters
:
parameters
:
-
name
:
type
-
name
:
type
in
:
formData
in
:
formData
description
:
是那种类型要求发送的(1, LOGIN, u登陆) (3, UPDATE,修改属性) (4, REGISTER,提交注册)
description
:
要求发送的类型(1,登陆) (4,提交注册)
required
:
true
type
:
integer
format
:
integer
-
name
:
phone
in
:
formData
description
:
手机号
required
:
true
type
:
integer
format
:
integer
-
name
:
image_code
in
:
formData
description
:
验证码
required
:
true
required
:
true
type
:
integer
type
:
integer
format
:
integer
format
:
integer
...
@@ -191,11 +211,30 @@ paths:
...
@@ -191,11 +211,30 @@ paths:
error
:
0
error
:
0
message
:
'
'
message
:
'
'
data
:
null
data
:
null
/account/code/online
:
post
:
summary
:
登陆之后,发送手机验证码
description
:
登陆之后,发送手机验证码(只在更改密码的时候需要,不需要任何参数)
consumes
:
-
application/x-www-form-urlencoded
tags
:
-
Account
responses
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
error
:
0
message
:
'
'
data
:
null
# ------------------------
# ------------------------
/account/password
:
/account/password
:
post
:
post
:
summary
:
更改密码
summary
:
更改密码
description
:
更改密码
description
:
更改密码
consumes
:
-
application/x-www-form-urlencoded
tags
:
tags
:
-
Account
-
Account
parameters
:
parameters
:
...
@@ -246,6 +285,9 @@ paths:
...
@@ -246,6 +285,9 @@ paths:
post
:
post
:
summary
:
接受协议
summary
:
接受协议
description
:
医生点击同意协议
description
:
医生点击同意协议
consumes
:
-
application/x-www-form-urlencoded
tags
:
tags
:
-
Agreement
-
Agreement
responses
:
responses
:
...
@@ -511,6 +553,9 @@ paths:
...
@@ -511,6 +553,9 @@ paths:
post
:
post
:
summary
:
订单验证
summary
:
订单验证
description
:
订单验证
description
:
订单验证
consumes
:
-
application/x-www-form-urlencoded
parameters
:
parameters
:
-
name
:
order_id
-
name
:
order_id
in
:
formData
in
:
formData
...
@@ -675,6 +720,9 @@ paths:
...
@@ -675,6 +720,9 @@ paths:
post
:
post
:
summary
:
同意退款
summary
:
同意退款
description
:
同意退款
description
:
同意退款
consumes
:
-
application/x-www-form-urlencoded
tags
:
tags
:
-
Refund
-
Refund
responses
:
responses
:
...
@@ -872,6 +920,12 @@ paths:
...
@@ -872,6 +920,12 @@ paths:
required
:
false
required
:
false
type
:
integer
type
:
integer
format
:
integer
format
:
integer
-
name
:
query
in
:
query
description
:
过滤关键词?
required
:
false
type
:
str
format
:
str
tags
:
tags
:
-
Topic
-
Topic
responses
:
responses
:
...
@@ -882,6 +936,8 @@ paths:
...
@@ -882,6 +936,8 @@ paths:
application/json
:
application/json
:
data
:
data
:
total
:
1235
total
:
1235
size
:
10
page
:
1
topics
:
topics
:
-
title
:
'
颜医生,请问玻尿酸丰下巴怎样收费'
-
title
:
'
颜医生,请问玻尿酸丰下巴怎样收费'
doctor_num
:
4
doctor_num
:
4
...
@@ -912,6 +968,8 @@ paths:
...
@@ -912,6 +968,8 @@ paths:
examples
:
examples
:
application/json
:
application/json
:
data
:
data
:
page
:
1
size
:
10
total
:
1235
total
:
1235
topics
:
topics
:
-
title
:
'
颜医生,请问玻尿酸丰下巴怎样收费'
-
title
:
'
颜医生,请问玻尿酸丰下巴怎样收费'
...
@@ -1038,6 +1096,8 @@ paths:
...
@@ -1038,6 +1096,8 @@ paths:
post
:
post
:
summary
:
回复
summary
:
回复
description
:
回复话题,回复话题的回复
description
:
回复话题,回复话题的回复
consumes
:
-
application/x-www-form-urlencoded
parameters
:
parameters
:
-
name
:
topic_id
-
name
:
topic_id
in
:
path
in
:
path
...
@@ -1067,6 +1127,9 @@ paths:
...
@@ -1067,6 +1127,9 @@ paths:
post
:
post
:
summary
:
话题下沉
summary
:
话题下沉
description
:
更改话题分值,话题往后排
description
:
更改话题分值,话题往后排
consumes
:
-
application/x-www-form-urlencoded
parameters
:
parameters
:
-
name
:
topic_id
-
name
:
topic_id
in
:
path
in
:
path
...
@@ -1102,17 +1165,21 @@ paths:
...
@@ -1102,17 +1165,21 @@ paths:
message
:
'
'
message
:
'
'
error
:
0
error
:
0
data
:
data
:
-
jump_value
:
"
111549_602329"
size
:
10
is_new
:
false
page
:
1
user_key
:
"
111549_602329"
total
:
6
doctor_id
:
"
"
conversations
:
id
:
1270639
-
jump_value
:
"
111549_602329"
jump_type
:
"
6"
is_new
:
false
nickname
:
"
发疯了的猫"
user_key
:
"
111549_602329"
portrait
:
"
http://pic.gengmei.cc/2015/09/08/1226facfe0"
doctor_id
:
"
"
hospital_id
:
"
"
id
:
1270639
last_reply_time
:
145554334
jump_type
:
"
6"
text
:
"
呵呵大"
nickname
:
"
发疯了的猫"
portrait
:
"
http://pic.gengmei.cc/2015/09/08/1226facfe0"
hospital_id
:
"
"
last_reply_time
:
145554334
text
:
"
呵呵大"
/conversation/{user_key}
:
/conversation/{user_key}
:
get
:
get
:
...
@@ -1167,6 +1234,8 @@ paths:
...
@@ -1167,6 +1234,8 @@ paths:
post
:
post
:
summary
:
回复私信
summary
:
回复私信
description
:
回复私信
description
:
回复私信
consumes
:
-
application/x-www-form-urlencoded
parameters
:
parameters
:
-
name
:
type
-
name
:
type
in
:
formData
in
:
formData
...
@@ -1227,6 +1296,8 @@ paths:
...
@@ -1227,6 +1296,8 @@ paths:
post
:
post
:
summary
:
确认/取消预约
summary
:
确认/取消预约
description
:
确认/取消预约
description
:
确认/取消预约
consumes
:
-
application/x-www-form-urlencoded
parameters
:
parameters
:
-
name
:
id
-
name
:
id
in
:
path
in
:
path
...
@@ -1274,6 +1345,8 @@ paths:
...
@@ -1274,6 +1345,8 @@ paths:
post
:
post
:
summary
:
添加地址
summary
:
添加地址
description
:
添加地址
description
:
添加地址
consumes
:
-
application/x-www-form-urlencoded
parameters
:
parameters
:
-
name
:
lng
-
name
:
lng
in
:
formData
in
:
formData
...
@@ -1353,6 +1426,8 @@ paths:
...
@@ -1353,6 +1426,8 @@ paths:
post
:
post
:
summary
:
设置预约时间
summary
:
设置预约时间
description
:
设置预约时间
description
:
设置预约时间
consumes
:
-
application/x-www-form-urlencoded
parameters
:
parameters
:
-
name
:
data
-
name
:
data
in
:
formData
in
:
formData
...
...
This diff is collapsed.
Click to expand it.
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