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

add res

parent 1e37fb22
......@@ -287,7 +287,7 @@ paths:
page: 1
orders:
- name: m型唇
status: '2'
status: '已退款'
created_time: 1472900054
item: ''
pre_payment_price: 1
......@@ -296,7 +296,7 @@ paths:
id: '3138635937'
gengmei_price: 1
- name: 【北京@刘浩】test003专用测试,请勿修改或删除,谢谢合作!
status: '2'
status: '已验证'
created_time: 1470160559
item: '[u''R'', u''32'']'
pre_payment_price: 2
......@@ -331,12 +331,9 @@ paths:
schema: {}
examples:
application/json:
data:
total: 10
data: None
message: ''
error: 0
success: true
error_code: 0
# ------------------------
/order/{id}:
get:
......@@ -347,6 +344,24 @@ paths:
responses:
'200':
description: OK
schema: {}
examples:
application/json:
data:
id: 123
service_id: 234
service_name: '美购名称'
items: '实际购买属性'
gengmei_price: 234
pre_payment_price: 123
hospital_payment: 111
user_name: '小嬛嬛'
phone: 18742441012
created_time: 1470160559
validate_time: 1470160559 or None
validated: 0 or 1
message: ''
error: 0
parameters:
- name: id
in: path
......@@ -392,12 +407,30 @@ paths:
schema: {}
examples:
application/json:
data:
total: 10
total: 2
message: ''
page: 1
orders:
- name: m型唇
status: '已退款'
created_time: 1472900054
items: ''
pre_payment_price: 1
hospital_payment: 0
refund_time: 1470394763
id: '3138635937'
gengmei_price: 1
- name: 【北京@刘浩】test003专用测试,请勿修改或删除,谢谢合作!
status: '已验证'
created_time: 1470160559
items: '多属性名称'
pre_payment_price: 2
hospital_payment: 331
refund_time: 1470160719
id: '4626252114'
gengmei_price: 333
message: ''
error: 0
success: true
error_code: 0
# ------------------------
/refund/{id}:
get:
......@@ -408,6 +441,25 @@ paths:
responses:
'200':
description: OK
schema: {}
examples:
application/json:
data:
id: 123
service_id: 234
service_name: '美购名称'
items: '实际购买属性'
gengmei_price: 234
pre_payment_price: 123
hospital_payment: 111
user_name: '小嬛嬛'
phone: 18742441012
created_time: 1470160559
refund_time: 1470160559 or None
refunded_time: 1470160559 or None
validated: 0 or 1
message: ''
error: 0
parameters:
- name: id
in: path
......@@ -474,6 +526,25 @@ paths:
responses:
'200':
description: OK
schema: {}
examples:
application/json:
data:
id: 123
service_id: 234
service_name: '美购名称'
items: '实际购买属性'
gengmei_price: 234
pre_payment_price: 123
hospital_payment: 111
user_name: '小嬛嬛'
phone: 18742441012
created_time: 1470160559
refund_time: 1470160559 or None
refunded_time: 1470160559 or None
validated: 0 or 1
message: ''
error: 0
parameters:
- name: id
in: path
......
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