Commit 02af7606 authored by Skyler's avatar Skyler

add api doc about business

parent 2f508986
......@@ -1548,4 +1548,75 @@ paths:
application/json:
message: ''
error: 0
# ----商务登录------
/business/login:
post:
summary: 商务登录
description: 商务登录
parameters:
- name: name
in: formData
description: 用户名
required: true
type: string
format: string
- name: password
in: formData
description: 密码
required: true
type: string
format: string
tags:
- Business
responses:
'200':
description: OK
schema: {}
examples:
application/json:
error: 0
message: ''
data:
# ----商务搜索医生列表-----
/business/doctor:
get:
summary: 商务搜索自己对接的医生
description: 商务搜索自己对接的医生
parameters:
- name: q
in: formData
description: 搜索关键词
required: false
type: string
format: string
tags:
- Business
responses:
'200':
description: OK
schema: {}
examples:
application/json:
error: 0
message: ''
data:
doctors:
- name: 王飏
doctor_name: 济南医院
# ----全局数据获取-----------
/account/doctor_badge:
get:
summary: 全局数据获取
description: 秒杀设置/预付款/(消息未读数之后做)
tags:
- Account
responses:
'200':
description: OK
schema: {}
examples:
application/json:
error: 0
message: ''
data:
# ----Skyler end--------------------
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