Commit 05ec70c6 authored by RobertDing's avatar RobertDing

FIX-

parent e1b9c922
......@@ -1052,13 +1052,97 @@ paths:
image_header: 'http://...'
photo_details: 'blabla...'
special_permit: false
items: '[{}, #json序列化化的数据]
items: '[#json序列化化的数据
{
tag_ids: [1,3,4],
market_price: 11223,
gengmei_price: 12233,
is_online: true
}'
}]'
post:
summary: 编辑或新建美购
description: 编辑或新建美购
parameters:
- name: register_id
in: path
description: 上传美购ID
required: false
type: integer
format: integer
- comment: '[玻尿酸注射] 这是一个玻尿酸'
in: formData
description: 美购详情一句话描述
required: false
type: integer
format: integer
- name: start_time
in: formData
description: 美购开始时间
required: false
type: integer
format: integer
- name: end_time
in: formData
description: 美购结束售卖时间
required: false
type: integer
format: integer
- name: reservation
in: formData
description: 提前预约天数
required: false
type: integer
format: integer
- name: total_num
in: formData
description: 总数
required: false
type: integer
format: integer
- name: image_header
in: formData
description: 美购图片
required: false
type: integer
format: integer
- name: num_change
in: formData
description: 美购总量变动
required: false
type: integer
format: integer
- name: items
in: formData
description: 美购价格列表
required: false
type: integer
format: integer
tags:
- Service
responses:
'200':
description: OK
schema: {}
examples:
application/json:
error: 0
message: ''
data:
comment: '[玻尿酸注射] 这是一个美购的信息'
start_time: 134949595
end_time: 1433442234
reservation: 3
total_num: 30
image_header: 'http://...'
photo_details: 'blabla...'
special_permit: false
items: '[#json序列化化的数据
{
tag_ids: [1,3,4],
market_price: 11223,
gengmei_price: 12233,
is_online: true
}]'
# ------------------------
/search/topic:
......
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