文档
测试

商品详情

POST
http://jiajiashi.vtui365.com/index.php?s=/api/goods/detail

请求参数

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

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
merch
object
商家信息,数据字典
必填
merch_user_id
int
示例:136
必填
user_id
int
示例:0
必填
province_id
int
示例:1
必填
city_id
int
示例:2
必填
region_id
int
示例:3
必填
address
string
示例:44
必填
merch_name
string
示例:44
必填
realname
string
示例:44
必填
mobile
string
示例:15658392810
必填
username
string
示例:15658392810
必填
password
string
示例:e10adc3949ba59abbe56e057f20f883e
必填
image_id
int
示例:20748
必填
merch_status
int
示例:10
必填
area_id
int
示例:8
必填
category_id
int
示例:10641
必填
longitude
object
示例:null
必填
latitude
object
示例:null
必填
is_recommend
int
示例:0
必填
is_delete
int
示例:0
必填
wxapp_id
int
示例:10001
必填
sort
int
示例:0
必填
descript
string
示例:
必填
views
int
示例:0
必填
goods_num
int
在售商品数,示例:1
必填
logo
object
logo,数据字典
必填
file_id
int
示例:20748
必填
storage
string
示例:local
必填
group_id
int
示例:0
必填
file_url
string
示例:
必填
file_name
string
示例:202101071938517c8541130.png
必填
file_size
int
示例:287058
必填
file_type
string
示例:image
必填
extension
string
示例:png
必填
is_user
int
示例:1
必填
is_recycle
int
示例:0
必填
is_delete
int
示例:0
必填
merch_id
int
示例:0
必填
file_path
string
示例:http://jiajiashi.vtui365.com/uploads/202101071938517c8541130.png
必填
detail
object
数据字典
必填
goods_id
int
示例:12091
必填
goods_name
string
示例:西红柿
必填
selling_point
string
示例:新鲜实惠
必填
category_id
int
示例:10314
必填
spec_type
int
示例:10
必填
deduct_stock_type
int
示例:20
必填
content
string
示例:<p><img src="http://jiajiashi.vtui365.com/uploads/202101080957101e4378645.jpg"/></p><p><br/></p>
必填
goods_sort
int
示例:100
必填
buy_limit
int
示例:0
必填
delivery_id
int
示例:10001
必填
is_new_user_enjoy
int
示例:0
必填
is_points_gift
int
示例:1
必填
is_points_discount
int
示例:1
必填
is_enable_grade
int
示例:1
必填
is_alone_grade
int
示例:0
必填
alone_grade_equity
object
示例:null
必填
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
必填
goods_status
object
数据字典
必填
text
string
示例:上架
必填
value
int
示例:10
必填
merch_id
int
示例:136
必填
comment_data_count
int
示例:0
必填
goods_stock
int
示例:1000
必填
goods_image
string
示例:http://jiajiashi.vtui365.com/uploads/202101080957101e4378645.jpg
必填
goods_sku
object
数据字典
必填
goods_sku_id
int
示例:17691
必填
goods_id
int
示例:12091
必填
spec_sku_id
string
示例:0
必填
image_id
int
示例:0
必填
goods_no
string
示例:12356
必填
goods_price
string
示例:3.80
必填
line_price
string
示例:6.80
必填
stock_num
int
示例:1000
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:2
必填
image
object
示例:null
必填
is_user_grade
boolean
示例:false
必填
goods_multi_spec
object
示例:null
必填
bought_num
int
示例:0
必填
category
object
数据字典
必填
category_id
int
示例:10314
必填
name
string
示例:蔬菜
必填
parent_id
int
示例:0
必填
image_id
int
示例:20752
必填
sort
int
示例:100
必填
create_time
string
示例:2021-01-08 09:57:13
必填
is_show
int
示例:1
必填
image
array
数据列表
必填
id
int
示例:24646
必填
goods_id
int
示例:12091
必填
image_id
int
示例:20752
必填
file_path
string
示例:http://jiajiashi.vtui365.com/uploads/202101080957101e4378645.jpg
必填
file_name
string
示例:202101080957101e4378645.jpg
必填
file_url
string
示例:
必填
sku
array
数据列表
必填
goods_sku_id
int
示例:17691
必填
goods_id
int
示例:12091
必填
spec_sku_id
string
示例:0
必填
image_id
int
示例:0
必填
goods_no
string
示例:12356
必填
goods_price
string
示例:3.80
必填
line_price
string
示例:6.80
必填
stock_num
int
示例:1000
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:2
必填
image
object
示例:null
必填
comment_data
array
数据列表
必填
goods_sales
int
示例:0
必填
cart_total_num
int
示例:0
必填
is_collect
boolean
示例:false
必填
specData
object
示例:null
必填
setting
object
数据字典
必填
points_name
string
示例:积分
必填