文档
测试

课程,旅游卡详情

POST
https://djsh.meiliancheng.cn/index.php?s=/shop/api.goods/detail

请求参数

参数名
类型
描述
必填
goods_id
int
示例:12014
必填
shop_id
string
示例:10020
必填

响应参数

参数名
类型
描述
必填
data
object
数据字典
必填
detail
object
商品详情,数据字典
必填
goods_id
int
示例:12014
必填
shop_id
int
示例:10020
必填
supplier_id
int
示例:0
必填
type
int
示例:3
必填
goods_name
string
示例:测试课程
必填
selling_point
string
示例:测试课程测试课程测试课程测试课程
必填
use_rule
object
示例:null
必填
category_id
int
示例:10541
必填
spec_type
int
示例:10
必填
deduct_stock_type
int
示例:10
必填
content
string
详情,示例:<p><img src="http://dijiush.oss-cn-beijing.aliyuncs.com/20201022165000794ee0767.png"/></p><p><span style="color: rgb(14, 23, 38); font-family: " pingfang="" helvetica="" hiragino="" sans="" source="" han="" noto="" cjk="" microsoft="" white-space:="" background-color:=""></span><br/></p>
必填
content2
string
说明,示例:
必填
goods_sort
int
示例:100
必填
buy_limit
int
示例:0
必填
least_expend_money
string
示例:0.00
必填
delivery_id
int
示例:0
必填
delivery_type
int
示例:20
必填
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
数据字典
必填
10020
string
示例:
必填
10021
string
示例:
必填
10022
string
示例:
必填
10023
string
示例:
必填
10024
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
必填
is_new_user
int
示例:0
必填
new_need_points_num
int
示例:0
必填
new_need_points_money
string
示例:0.00
必填
video
object
示例:null
必填
goods_status
object
数据字典
必填
text
string
示例:上架
必填
value
int
示例:10
必填
is_hot
int
示例:1
必填
use_code
int
示例:0
必填
is_check
int
示例:1
必填
share_buy
int
示例:0
必填
share_num
int
示例:0
必填
view_num
int
示例:142
必填
is_baopin
int
示例:0
必填
is_ziyin
int
示例:0
必填
is_pinpai
int
示例:0
必填
brand_id
int
示例:0
必填
comment_data_count
int
示例:0
必填
goods_stock
int
库存示例:7
必填
goods_image
string
示例:http://dijiush.oss-cn-beijing.aliyuncs.com/202009151725453455d7261.jpg
必填
goods_sku
object
数据字典
必填
goods_sku_id
int
示例:29175
必填
goods_id
int
示例:12014
必填
spec_sku_id
string
示例:0
必填
image_id
int
示例:0
必填
goods_no
string
示例:
必填
balance_price
string
示例:0.00
必填
goods_price
string
价格,示例:0.01
必填
line_price
string
示例:0.00
必填
real_price
string
示例:0.00
必填
stock_num
int
库存,示例:7
必填
goods_sales
int
销量,示例:0
必填
goods_weight
int
示例:0
必填
image
object
示例:null
必填
goods_multi_spec
object
示例:null
必填
is_user_grade
boolean
示例:false
必填
bought_num
int
示例:0
必填
is_like
int
示例:0
必填
video_url
string
示例:
必填
category
object
数据字典
必填
category_id
int
示例:10541
必填
name
string
示例:扶商咨询
必填
parent_id
int
示例:0
必填
image_id
int
示例:0
必填
sort
int
示例:100
必填
type
int
示例:3
必填
create_time
string
示例:2020-09-15 17:25:16
必填
image
array
数据列表
必填
id
int
示例:31258
必填
goods_id
int
示例:12014
必填
image_id
int
示例:24584
必填
file_path
string
示例:http://dijiush.oss-cn-beijing.aliyuncs.com/202009151725453455d7261.jpg
必填
file_name
string
示例:202009151725453455d7261.jpg
必填
file_url
string
示例:http://dijiush.oss-cn-beijing.aliyuncs.com
必填
sku
array
数据列表
必填
goods_sku_id
int
示例:29175
必填
goods_id
int
示例:12014
必填
spec_sku_id
string
示例:0
必填
image_id
int
示例:0
必填
goods_no
string
示例:
必填
balance_price
string
示例:0.00
必填
goods_price
string
示例:0.01
必填
line_price
string
示例:0.00
必填
real_price
string
示例:0.00
必填
stock_num
int
示例:7
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:0
必填
image
object
示例:null
必填
comment_data
array
数据列表
必填
goods_sales
int
示例:3
必填
specData
object
示例:null
必填
videoList
array
视频列表,数据列表
必填
study_id
int
示例:1
必填
goods_id
int
示例:12014
必填
title
string
视频名称,示例:测试1
必填
video_id
int
示例:25820
必填
sort
int
示例:10
必填
free
int
1可免费观看,示例:0
必填
create_time
int
示例:1600674149
必填
update_time
int
示例:1600675906
必填
wxapp_id
int
示例:10001
必填
is_delete
int
示例:0
必填
video_url
string
视频连接,示例:http://dijiush.oss-cn-beijing.aliyuncs.com/20200921154225ffd781956.mp4
必填
kefu
string
客服电话
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填