文档
测试

旅游/套餐/商品详情

POST
http://djsh.meiliancheng.cn/index.php?s=/api/travel/detail

请求参数

参数名
类型
描述
必填
goods_id
int
示例:11711
必填
wxapp_id
int
10001
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
detail
object
数据字典
必填
goods_id
int
示例:11711
必填
shop_id
int
示例:0
必填
type
int
示例:1
必填
goods_name
string
商品名称,示例:泰国旅游
必填
selling_point
string
示例:泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游
必填
category_id
int
示例:10430
必填
spec_type
int
示例:20
必填
deduct_stock_type
int
示例:10
必填
content
string
详情,示例:<p><br/></p><p><img src="http://djsh.meiliancheng.cn/uploads/20200611153356a47578879.jpg"/></p><p>泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游泰国旅游</p>
必填
goods_sort
int
示例:100
必填
buy_limit
int
示例:0
必填
least_expend_money
string
示例:1.00
必填
delivery_id
int
示例:10001
必填
is_new_user_enjoy
int
示例:0
必填
is_points_gift
int
示例:1
必填
is_points_discount
int
示例:1
必填
is_enable_balance_price
int
示例:0
必填
is_enable_grade
int
示例:1
必填
is_alone_grade
int
示例:0
必填
alone_grade_equity
object
数据字典
必填
10001
string
示例:
必填
10002
string
示例:
必填
is_ind_dealer
int
示例:0
必填
dealer_money_type
int
示例:10
必填
first_money
string
示例:0.00
必填
second_money
string
示例:0.00
必填
third_money
string
示例:0.00
必填
is_rush
int
示例:0
必填
is_points_exchange
int
示例:0
必填
need_points_num
int
示例:0
必填
need_points_money
string
示例:0.00
必填
video
string
示例:202006111545277f1c02479.mp4
必填
goods_status
object
数据字典
必填
text
string
示例:上架
必填
value
int
示例:10
必填
is_hot
int
示例:0
必填
comment_data_count
int
示例:0
必填
goods_stock
int
示例:222
必填
goods_image
string
示例:http://djsh.meiliancheng.cn/uploads/20200611153356a47578879.jpg
必填
goods_sku
object
数据字典
必填
goods_sku_id
int
示例:22495
必填
goods_id
int
示例:11711
必填
spec_sku_id
string
示例:10960
必填
image_id
int
示例:0
必填
goods_no
string
示例:
必填
balance_price
string
示例:0.00
必填
goods_price
string
示例:1.00
必填
line_price
string
示例:1.00
必填
stock_num
int
示例:111
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:1
必填
image
object
示例:null
必填
goods_multi_spec
object
数据字典
必填
spec_attr
array
数据列表
必填
group_id
int
示例:10172
必填
group_name
string
示例:规格
必填
spec_items
array
数据列表
必填
item_id
int
示例:10960
必填
spec_value
string
示例:一星酒店
必填
spec_list
array
数据列表
必填
goods_sku_id
int
示例:22495
必填
spec_sku_id
string
示例:10960
必填
rows
array
数据列表
必填
form
object
数据字典
必填
image_id
int
示例:0
必填
image_path
string
示例:
必填
goods_no
string
示例:
必填
goods_price
string
示例:1.00
必填
goods_weight
int
示例:1
必填
line_price
string
示例:1.00
必填
stock_num
int
示例:111
必填
is_user_grade
boolean
示例:false
必填
bought_num
int
示例:0
必填
category
object
数据字典
必填
category_id
int
示例:10430
必填
name
string
示例:国内线路1
必填
parent_id
int
示例:0
必填
image_id
int
示例:0
必填
sort
int
示例:100
必填
type
int
示例:1
必填
create_time
string
示例:2020-06-12 18:12:16
必填
image
array
数据列表
必填
id
int
示例:22562
必填
goods_id
int
示例:11711
必填
image_id
int
示例:19909
必填
file_path
string
示例:http://djsh.meiliancheng.cn/uploads/20200611153356a47578879.jpg
必填
file_name
string
示例:20200611153356a47578879.jpg
必填
file_url
string
示例:
必填
sku
array
数据列表
必填
goods_sku_id
int
示例:22495
必填
goods_id
int
示例:11711
必填
spec_sku_id
string
示例:10960
必填
image_id
int
示例:0
必填
goods_no
string
示例:
必填
balance_price
string
示例:0.00
必填
goods_price
string
示例:1.00
必填
line_price
string
示例:1.00
必填
stock_num
int
示例:111
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:1
必填
image
object
示例:null
必填
comment_data
array
(评价列表)数据列表
必填
goods_sales
int
示例:0
必填
specData
object
数据字典
必填
spec_attr
array
数据列表
必填
group_id
int
示例:10172
必填
group_name
string
示例:规格
必填
spec_items
array
数据列表
必填
item_id
int
示例:10960
必填
spec_value
string
示例:一星酒店
必填
spec_list
array
数据列表
必填
goods_sku_id
int
示例:22495
必填
spec_sku_id
string
示例:10960
必填
rows
array
数据列表
必填
form
object
数据字典
必填
image_id
int
示例:0
必填
image_path
string
示例:
必填
goods_no
string
示例:
必填
goods_price
string
示例:1.00
必填
goods_weight
int
示例:1
必填
line_price
string
示例:1.00
必填
stock_num
int
示例:111
必填