Commit 4454d8e0 authored by zhangxiaolin's avatar zhangxiaolin

post api请加一个头信息consume,,,要不然他会自动设置为json的content-type

parent ab290059
...@@ -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:
...@@ -173,6 +179,8 @@ paths: ...@@ -173,6 +179,8 @@ paths:
post: post:
summary: 发送手机验证码 summary: 发送手机验证码
description: 未登录情况下,发送手机验证码 description: 未登录情况下,发送手机验证码
consumes:
- application/x-www-form-urlencoded
tags: tags:
- Account - Account
parameters: parameters:
...@@ -207,6 +215,8 @@ paths: ...@@ -207,6 +215,8 @@ paths:
post: post:
summary: 登陆之后,发送手机验证码 summary: 登陆之后,发送手机验证码
description: 登陆之后,发送手机验证码(只在更改密码的时候需要,不需要任何参数) description: 登陆之后,发送手机验证码(只在更改密码的时候需要,不需要任何参数)
consumes:
- application/x-www-form-urlencoded
tags: tags:
- Account - Account
responses: responses:
...@@ -223,6 +233,8 @@ paths: ...@@ -223,6 +233,8 @@ paths:
post: post:
summary: 更改密码 summary: 更改密码
description: 更改密码 description: 更改密码
consumes:
- application/x-www-form-urlencoded
tags: tags:
- Account - Account
parameters: parameters:
...@@ -273,6 +285,9 @@ paths: ...@@ -273,6 +285,9 @@ paths:
post: post:
summary: 接受协议 summary: 接受协议
description: 医生点击同意协议 description: 医生点击同意协议
consumes:
- application/x-www-form-urlencoded
tags: tags:
- Agreement - Agreement
responses: responses:
...@@ -538,6 +553,9 @@ paths: ...@@ -538,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
...@@ -702,6 +720,9 @@ paths: ...@@ -702,6 +720,9 @@ paths:
post: post:
summary: 同意退款 summary: 同意退款
description: 同意退款 description: 同意退款
consumes:
- application/x-www-form-urlencoded
tags: tags:
- Refund - Refund
responses: responses:
...@@ -1065,6 +1086,8 @@ paths: ...@@ -1065,6 +1086,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
...@@ -1094,6 +1117,9 @@ paths: ...@@ -1094,6 +1117,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
...@@ -1194,6 +1220,8 @@ paths: ...@@ -1194,6 +1220,8 @@ paths:
post: post:
summary: 回复私信 summary: 回复私信
description: 回复私信 description: 回复私信
consumes:
- application/x-www-form-urlencoded
parameters: parameters:
- name: type - name: type
in: formData in: formData
...@@ -1254,6 +1282,8 @@ paths: ...@@ -1254,6 +1282,8 @@ paths:
post: post:
summary: 确认/取消预约 summary: 确认/取消预约
description: 确认/取消预约 description: 确认/取消预约
consumes:
- application/x-www-form-urlencoded
parameters: parameters:
- name: id - name: id
in: path in: path
...@@ -1301,6 +1331,8 @@ paths: ...@@ -1301,6 +1331,8 @@ paths:
post: post:
summary: 添加地址 summary: 添加地址
description: 添加地址 description: 添加地址
consumes:
- application/x-www-form-urlencoded
parameters: parameters:
- name: lng - name: lng
in: formData in: formData
...@@ -1380,6 +1412,8 @@ paths: ...@@ -1380,6 +1412,8 @@ paths:
post: post:
summary: 设置预约时间 summary: 设置预约时间
description: 设置预约时间 description: 设置预约时间
consumes:
- application/x-www-form-urlencoded
parameters: parameters:
- name: data - name: data
in: formData in: formData
......
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