Commit 4454d8e0 authored by zhangxiaolin's avatar zhangxiaolin

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

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