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

add res

parent 1e37fb22
...@@ -287,7 +287,7 @@ paths: ...@@ -287,7 +287,7 @@ paths:
page: 1 page: 1
orders: orders:
- name: m型唇 - name: m型唇
status: '2' status: '已退款'
created_time: 1472900054 created_time: 1472900054
item: '' item: ''
pre_payment_price: 1 pre_payment_price: 1
...@@ -296,7 +296,7 @@ paths: ...@@ -296,7 +296,7 @@ paths:
id: '3138635937' id: '3138635937'
gengmei_price: 1 gengmei_price: 1
- name: 【北京@刘浩】test003专用测试,请勿修改或删除,谢谢合作! - name: 【北京@刘浩】test003专用测试,请勿修改或删除,谢谢合作!
status: '2' status: '已验证'
created_time: 1470160559 created_time: 1470160559
item: '[u''R'', u''32'']' item: '[u''R'', u''32'']'
pre_payment_price: 2 pre_payment_price: 2
...@@ -331,12 +331,9 @@ paths: ...@@ -331,12 +331,9 @@ paths:
schema: {} schema: {}
examples: examples:
application/json: application/json:
data: data: None
total: 10
message: '' message: ''
error: 0 error: 0
success: true
error_code: 0
# ------------------------ # ------------------------
/order/{id}: /order/{id}:
get: get:
...@@ -347,6 +344,24 @@ paths: ...@@ -347,6 +344,24 @@ paths:
responses: responses:
'200': '200':
description: OK 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: parameters:
- name: id - name: id
in: path in: path
...@@ -392,12 +407,30 @@ paths: ...@@ -392,12 +407,30 @@ paths:
schema: {} schema: {}
examples: examples:
application/json: application/json:
data: total: 2
total: 10 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: '' message: ''
error: 0 error: 0
success: true
error_code: 0
# ------------------------ # ------------------------
/refund/{id}: /refund/{id}:
get: get:
...@@ -408,6 +441,25 @@ paths: ...@@ -408,6 +441,25 @@ paths:
responses: responses:
'200': '200':
description: OK 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: parameters:
- name: id - name: id
in: path in: path
...@@ -474,6 +526,25 @@ paths: ...@@ -474,6 +526,25 @@ paths:
responses: responses:
'200': '200':
description: OK 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: parameters:
- name: id - name: id
in: path 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