Commit bc94e9bb authored by 张允禹's avatar 张允禹

add switch

parent 3fd0cdc5
......@@ -258,6 +258,89 @@ paths:
required: true
type: integer
format: integer
# ------------------------
/switch:
get:
summary: 可切换医生列表
description: 可切换医生列表
tags:
- Switch
responses:
'200':
description: OK
schema: {}
examples:
application/json:
data:
total: 2
message: ''
page: 1
orders:
- name: m型唇
status: '已退款'
created_time: 1472900054
item: ''
pre_payment_price: 1
hospital_payment: 0
validate_time: 1470394763
id: '3138635937'
gengmei_price: 1
- name: 【北京@刘浩】test003专用测试,请勿修改或删除,谢谢合作!
status: '已验证'
created_time: 1470160559
item: '[u''R'', u''32'']'
pre_payment_price: 2
hospital_payment: 331
validate_time: 1470160719
id: '4626252114'
gengmei_price: 333
message: ''
error: 0
# ------------------------
/switch/{id}:
get:
summary: 用户切换
description: 用户切换
tags:
- Switch
responses:
'200':
description: OK
schema: {}
examples:
application/json:
data:
doctor:
department: 美容外科
phone: '15288842299'
accept_reserve: true
name: 王飏
portrait: http://wanmeizhensuo.qiniudn.com/2015/02/14/9c808ed226
introduction: introduction
id: wangyang
title: 主治医师
is_online: false
user:
in_blacklist: false
phone: '12345678912'
address: ''
id: 602329
portrait: http://wanmeizhensuo.qiniudn.com/2015/02/14/9c808ed226
city: 台北
real_name: ''
nick_name: 王飏 医生
hospital:
name: 济南鹏爱整形美容医院
id: jnpayl
message: ''
error: 0
parameters:
- name: id
in: path
description: 对帐单ID
required: true
type: integer
format: integer
# ------------------------
/order:
get:
......
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