文档
测试

拼团-商品详情页

GET
http://192.168.0.120/upload/mobile/index.php?act=goods&op=goods_detail&goods_id=100010

请求参数

参数名
类型
描述
必填
act
string
示例:goods
可选
op
string
示例:goods_detail
可选
goods_id
number
示例:100010
可选

响应参数

参数名
类型
描述
必填
code
number
示例:200
必填
msg
string
示例:成功
必填
datas
object
数据字典
必填
goods_info
object
数据字典
必填
goods_name
string
示例:fffffffff
必填
goods_jingle
string
示例:sssssssssssss
必填
gc_id_1
string
示例:1
必填
gc_id_2
string
示例:4
必填
gc_id_3
string
示例:12
必填
spec_name
object
示例:null
必填
spec_value
object
示例:null
必填
goods_attr
object
示例:null
必填
goods_custom
object
示例:null
必填
mobile_body
string
示例:<div>ddddddddddddddddddddddddddddddddddddddddddddddddd</div>
必填
goods_price
string
示例:3.00
必填
goods_marketprice
string
示例:3.00
必填
goods_costprice
string
示例:0.90
必填
goods_discount
string
示例:89
必填
goods_serial
string
示例:
必填
goods_storage_alarm
string
示例:0
必填
goods_barcode
string
示例:
必填
transport_id
string
示例:0
必填
transport_title
string
示例:
必填
goods_freight
string
示例:0.00
必填
goods_vat
string
示例:0
必填
areaid_1
string
示例:0
必填
areaid_2
string
示例:0
必填
goods_stcids
string
示例:
必填
plateid_top
string
示例:0
必填
plateid_bottom
string
示例:0
必填
is_virtual
string
示例:0
必填
virtual_indate
string
示例:0
必填
virtual_limit
string
示例:0
必填
virtual_invalid_refund
string
示例:0
必填
sup_id
string
示例:0
必填
is_own_shop
string
示例:1
必填
goods_id
string
示例:100010
必填
goods_promotion_price
string
示例:3.00
必填
goods_promotion_type
string
示例:0
必填
goods_click
number
示例:34
必填
goods_salenum
string
示例:29
必填
goods_collect
string
示例:0
必填
goods_spec
object
示例:null
必填
goods_storage
string
示例:9970
必填
color_id
string
示例:0
必填
evaluation_good_star
string
示例:5
必填
evaluation_count
string
示例:0
必填
is_fcode
string
示例:0
必填
is_presell
string
示例:0
必填
presell_deliverdate
string
示例:0
必填
is_book
string
示例:0
必填
book_down_payment
string
示例:0.00
必填
book_final_payment
string
示例:0.00
必填
book_down_time
string
示例:0
必填
book_buyers
string
示例:0
必填
have_gift
string
示例:0
必填
contract_1
string
示例:0
必填
contract_2
string
示例:0
必填
contract_3
string
示例:0
必填
contract_4
string
示例:0
必填
contract_5
string
示例:0
必填
contract_6
string
示例:0
必填
contract_7
string
示例:0
必填
contract_8
string
示例:0
必填
contract_9
string
示例:0
必填
contract_10
string
示例:0
必填
is_chain
string
示例:0
必填
sole_info
array
数据列表
必填
groupbuy_info
object
示例:null
必填
xianshi_info
object
示例:null
必填
jjg_info
object
示例:null
必填
cart
number
示例:1
必填
buynow
number
示例:1
必填
contractlist
array
数据列表
必填
goods_url
string
示例:http://192.168.0.120/upload/shop/index.php?act=goods&op=index&goods_id=100010
必填
spec_image
array
数据列表
必填
mansong_info
object
示例:null
必填
gift_array
array
数据列表
必填
goods_commend_list
array
数据列表
必填
goods_id
string
示例:100010
必填
goods_name
string
示例:fffffffff
必填
goods_price
object
示例:null
必填
goods_promotion_price
string
示例:3.00
必填
goods_image_url
string
示例:http://192.168.0.120/upload/data/upload/shop/store/goods/2/2_06332277853892728_240.jpg
必填
store_info
object
数据字典
必填
store_id
string
示例:2
必填
store_name
string
示例:ceshi
必填
member_id
string
示例:8
必填
member_name
string
示例:dianpu2
必填
is_own_shop
string
示例:1
必填
goods_count
string
示例:1
必填
store_credit
object
数据字典
必填
store_desccredit
object
数据字典
必填
text
string
示例:描述
必填
credit
string
示例:5.0
必填
percent_text
object
示例:null
必填
store_servicecredit
object
数据字典
必填
text
string
示例:服务
必填
credit
string
示例:5.0
必填
percent_text
object
示例:null
必填
store_deliverycredit
object
数据字典
必填
text
string
示例:物流
必填
credit
string
示例:5.0
必填
percent_text
object
示例:null
必填
spec_list
object
数据字典
必填
string
示例:100010
必填
goods_image
string
示例:http://192.168.0.120/upload/data/upload/shop/store/goods/2/2_06332277853892728_360.jpg
必填
goods_eval_list
array
数据列表
必填
goods_evaluate_info
object
数据字典
必填
good
number
示例:0
必填
normal
number
示例:0
必填
bad
number
示例:0
必填
all
number
示例:0
必填
img
number
示例:0
必填
good_percent
number
示例:100
必填
normal_percent
number
示例:0
必填
bad_percent
number
示例:0
必填
good_star
number
示例:5
必填
star_average
number
示例:5
必填
goods_hair_info
object
数据字典
必填
content
string
示例:免运费
必填
if_store_cn
string
示例:有货
必填
if_store
boolean
示例:true
必填
area_name
string
示例:全国
必填

说明 / 示例

字段解释,结构在响应参数里面看 goods_info 商品信息 goods_name 商品名称 goods_jingle 商品说明 spec_name 规格名称 spec_value 规格名 goods_price 商品价格 goods_marketprice 商品市场价 goods_id 商品编号 goods_click 商品点击数 goods_commentnum 商品评论数 goods_salenum 商品销量 goods_spec 商品规格 goods_storage 商品库存 evaluation_good_star 评价等级 evaluation_count 评价数 promotion_type 促销类型 groupbuy-团购 xianshi-限时折扣 sole-手机专享(没有不出现) promotion_price 促销价格(没有不出现) goods_promotion_type 促销类型 1-团购 2-限时折扣 默认0 goods_promotion_price 促销价格 upper_limit 最多购买数 is_virtual 是否为虚拟商品 1-是 0-否 virtual_indate 虚拟商品有效期 virtual_limit 虚拟商品购买上限 is_fcode 是否为F码商品 1-是 0-否 is_appoint 是否是预约商品 1-是 0-否 is_presell 是否是预售商品 1-是 0-否 have_gift 是否拥有赠品 1-是 0-否 cart 加入购物车是否显示 1-是 0-否 goods_url Web端商品url contractlist[]消保列表 cti_id 自增id cti_name 名称 cti_describe 描述 cti_cost cti_icon cti_descurl cti_state 状态 cti_sort 排序 cti_state_key cti_state_text cti_icon_url 大图链接 cti_icon_url_60 小图图链接 cti_state_name store_info store_id 店铺ID store_name 店铺名称 member_id 店主ID member_name 店主名称 goods_count 店铺商品数 is_own_shop 是否是自营店铺,自营店铺没有店铺动态评分,没有进入店铺按钮 store_credit 店铺动态评价 store_desccredit text 评价文字 credit 评价值 percent 百分比 percent_class 百分比样式 percent_text 百分比文字 store_servicecredit text 评价文字 credit 评价值 percent 百分比 percent_class 百分比样式 percent_text 百分比文字 store_deliverycredit text 评价文字 credit 评价值 percent 百分比 percent_class 百分比样式 percent_text 百分比文字 spec_list 规格列表 gift_array 赠品数组 spec_image 规格图片 goods_image 商品图片 goods_commend_list 推荐商品列表 goods_id 商品编号 goods_name 商品名称 goods_price 商品价格 goods_promotion_price 促销价格 goods_image_url 商品图片 mansong_info 满即送信息 mansong_name 活动名称 start_time 开始时间 end_time 结束时间 price 活动金额 discount 减现金 mansong_goods_name 赠送商品名称 goods_id 赠送商品编号,goods_id为0时为无赠品 goods_image_url 赠送商品图片地址 is_favorate 是否已经收藏(请求时需提交key) voucher[] 店铺代金券(请求时需提交key) voucher_t_id 代金券ID voucher_t_price 价格 voucher_t_limit 最低消费价格 voucher_t_end_date 到期时间(Y-m-d) goods_eval_list[] 商品评价列表(最新的3个) geval_scores 商品评分 geval_content 评价内容 geval_addtime 评价时间(时间戳) geval_frommemberid 评价人id geval_frommembername 评价人名称(匿名评价已经在名称上加*) geval_explain 商家解释 geval_content_again 追加评价内容 geval_addtime_again 追加评价时间(时间戳) geval_explain_again 商品对追加评价的解释 geval_addtime_date 评价时间(年月日) geval_image_240[] 评价小图数组 geval_image_1024[] 评价大图数组 geval_addtime_again_date 追加评价时间(年月日) geval_image_again_240[] 追评小图数组 geval_image_again_1024[] 追评大图数组 goods_evaluate_info 商品评分 good 好评数量 normal 中评数量 bad 差评数量 all 全部数量 img 有图数量 good_percent 好评率 normal_percent 中评率 bad_percent 差评率 good_star 好评星星数 star_average 全部星星数 goods_hair_info content 运费信息 if_store 是否配送 true/false if_store_cn 是否配送 有货/无货 area_name 地区描述,详细见 商品配送及运费信息 接口