商品详情
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>api/goods/detail</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get</li>
</ul>
<h5>请求Query参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;"></td>
<td>否</td>
<td>int</td>
<td>商品ID</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;success&quot;,
&quot;data&quot;: {
&quot;goods&quot;: {
&quot;id&quot;: 3660,
&quot;mall_id&quot;: 4,
&quot;mch_id&quot;: 0,
&quot;goods_warehouse_id&quot;: 380,
&quot;status&quot;: 1,
&quot;price&quot;: &quot;500.00&quot;,
&quot;use_attr&quot;: 0,
&quot;attr_groups&quot;: [
{
&quot;attr_group_id&quot;: 1,
&quot;attr_group_name&quot;: &quot;规格&quot;,
&quot;attr_list&quot;: [
{
&quot;attr_id&quot;: 2,
&quot;attr_name&quot;: &quot;默认&quot;,
&quot;pic_url&quot;: &quot;&quot;
}
]
}
],
&quot;goods_stock&quot;: 7,
&quot;virtual_sales&quot;: 0,
&quot;pieces&quot;: 0,
&quot;forehead&quot;: &quot;0.00&quot;,
&quot;shipping_id&quot;: 0,
&quot;freight_id&quot;: 0,
&quot;give_integral&quot;: 0,
&quot;give_integral_type&quot;: 1,
&quot;give_balance&quot;: &quot;500.00&quot;,
&quot;give_balance_type&quot;: 1,
&quot;forehead_integral&quot;: &quot;0.00&quot;,
&quot;forehead_integral_type&quot;: 1,
&quot;accumulative&quot;: 0,
&quot;individual_share&quot;: 0,
&quot;attr_setting_type&quot;: 0,
&quot;is_level&quot;: 1,
&quot;is_level_alone&quot;: 0,
&quot;share_type&quot;: 0,
&quot;sign&quot;: &quot;&quot;,
&quot;app_share_pic&quot;: &quot;&quot;,
&quot;app_share_title&quot;: &quot;&quot;,
&quot;is_default_services&quot;: 1,
&quot;sort&quot;: 100,
&quot;copy_goods_id&quot;: 0,
&quot;created_at&quot;: &quot;2024-11-25 14:32:06&quot;,
&quot;updated_at&quot;: &quot;2024-11-25 14:34:02&quot;,
&quot;deleted_at&quot;: &quot;0000-00-00 00:00:00&quot;,
&quot;is_delete&quot;: 0,
&quot;payment_people&quot;: 1,
&quot;payment_num&quot;: 1,
&quot;payment_amount&quot;: &quot;400.00&quot;,
&quot;payment_order&quot;: 1,
&quot;confine_order_count&quot;: -1,
&quot;is_area_limit&quot;: 0,
&quot;area_limit&quot;: &quot;[{\&quot;list\&quot;:[]}]&quot;,
&quot;form_id&quot;: 0,
&quot;sales&quot;: 1,
&quot;detail_count&quot;: 1,
&quot;guarantee_title&quot;: &quot;保障&quot;,
&quot;guarantee_pic&quot;: &quot;https:\/\/prb.ecit.cc\/web\/statics\/img\/mall\/goods\/guarantee\/goods-pic.png&quot;,
&quot;param_name&quot;: &quot;&quot;,
&quot;param_content&quot;: [],
&quot;min_number&quot;: 1,
&quot;is_setting_show_and_buy_auth&quot;: 0,
&quot;show_goods_auth&quot;: &quot;-1&quot;,
&quot;show_goods_user_group_auth&quot;: &quot;-1&quot;,
&quot;buy_goods_auth&quot;: true,
&quot;buy_goods_user_group_auth&quot;: &quot;-1&quot;,
&quot;is_setting_send_type&quot;: 0,
&quot;send_type&quot;: &quot;&quot;,
&quot;is_time&quot;: 0,
&quot;limit_buy_order&quot;: -1,
&quot;is_shipping&quot;: 1,
&quot;is_share&quot;: 1,
&quot;name&quot;: &quot;购物卡&quot;,
&quot;subtitle&quot;: &quot;&quot;,
&quot;keyword&quot;: &quot;&quot;,
&quot;original_price&quot;: &quot;0.00&quot;,
&quot;cover_pic&quot;: &quot;https:\/\/prb.ecit.cc\/web\/uploads\/mall4\/20240527\/c972472c68c03b1b12102e2f2a682352.jpg&quot;,
&quot;unit&quot;: &quot;件&quot;,
&quot;detail&quot;: &quot;&lt;p&gt;12313132&lt;\/p&gt;&quot;,
&quot;video_url&quot;: &quot;&quot;,
&quot;type&quot;: &quot;ecard&quot;,
&quot;level_show&quot;: 1,
&quot;is_sales&quot;: 1,
&quot;attr&quot;: [
{
&quot;id&quot;: 5587,
&quot;goods_id&quot;: 3660,
&quot;sign_id&quot;: &quot;2&quot;,
&quot;stock&quot;: 7,
&quot;price&quot;: &quot;500.00&quot;,
&quot;no&quot;: &quot;&quot;,
&quot;weight&quot;: 0,
&quot;pic_url&quot;: &quot;&quot;,
&quot;bar_code&quot;: &quot;&quot;,
&quot;is_delete&quot;: 0,
&quot;cost_price&quot;: &quot;0.00&quot;,
&quot;attr_list&quot;: [
{
&quot;attr_group_name&quot;: &quot;规格&quot;,
&quot;attr_group_id&quot;: 1,
&quot;attr_id&quot;: 2,
&quot;attr_name&quot;: &quot;默认&quot;
}
],
&quot;price_member&quot;: 500,
&quot;member_price_list&quot;: [
{
&quot;id&quot;: 1029,
&quot;level&quot;: 1,
&quot;price&quot;: &quot;0.00&quot;,
&quot;goods_attr_id&quot;: 5587,
&quot;is_delete&quot;: 0,
&quot;goods_id&quot;: 3660
},
{
&quot;id&quot;: 1030,
&quot;level&quot;: 2,
&quot;price&quot;: &quot;0.00&quot;,
&quot;goods_attr_id&quot;: 5587,
&quot;is_delete&quot;: 0,
&quot;goods_id&quot;: 3660
},
{
&quot;id&quot;: 1031,
&quot;level&quot;: 3,
&quot;price&quot;: &quot;0.00&quot;,
&quot;goods_attr_id&quot;: 5587,
&quot;is_delete&quot;: 0,
&quot;goods_id&quot;: 3660
},
{
&quot;id&quot;: 1032,
&quot;level&quot;: 4,
&quot;price&quot;: &quot;0.00&quot;,
&quot;goods_attr_id&quot;: 5587,
&quot;is_delete&quot;: 0,
&quot;goods_id&quot;: 3660
}
],
&quot;member_price_1&quot;: 500,
&quot;member_price_2&quot;: 450,
&quot;member_price_3&quot;: 500,
&quot;member_price_4&quot;: 400,
&quot;date&quot;: [],
&quot;calc_price&quot;: &quot;500.00&quot;
}
],
&quot;goods_num&quot;: 7,
&quot;goods_no&quot;: &quot;&quot;,
&quot;goods_weight&quot;: 0,
&quot;services&quot;: [
{
&quot;pic&quot;: &quot;https:\/\/prb.ecit.cc\/web\/statics\/img\/mall\/goods\/guarantee\/service-pic.png&quot;,
&quot;name&quot;: &quot;正品保障丨极速发货丨7天退换货丨免运费&quot;,
&quot;remark&quot;: &quot;正品保障丨极速发货丨7天退换货丨免运费&quot;
}
],
&quot;cards&quot;: [],
&quot;price_min&quot;: 500,
&quot;price_max&quot;: 500,
&quot;pic_url&quot;: [
{
&quot;id&quot;: &quot;1628&quot;,
&quot;pic_url&quot;: &quot;https:\/\/prb.ecit.cc\/web\/uploads\/mall4\/20240527\/c972472c68c03b1b12102e2f2a682352.jpg&quot;
}
],
&quot;share&quot;: 0,
&quot;favorite&quot;: false,
&quot;goods_marketing&quot;: {
&quot;limit&quot;: &quot;&quot;,
&quot;pickup&quot;: &quot;&quot;,
&quot;shipping&quot;: &quot;&quot;
},
&quot;goods_marketing_award&quot;: {
&quot;card&quot;: {
&quot;title&quot;: &quot;&quot;,
&quot;list&quot;: []
},
&quot;coupon&quot;: {
&quot;title&quot;: &quot;&quot;,
&quot;list&quot;: []
},
&quot;integral&quot;: {
&quot;title&quot;: &quot;&quot;
},
&quot;balance&quot;: {
&quot;title&quot;: &quot;购买可得余额¥500.00&quot;
}
},
&quot;vip_card_appoint&quot;: {
&quot;discount&quot;: null,
&quot;is_my_vip_card_goods&quot;: 0,
&quot;is_vip_card_user&quot;: 0
},
&quot;plugin_extra&quot;: {
&quot;composition&quot;: {
&quot;list&quot;: [],
&quot;url&quot;: &quot;\/plugins\/composition\/detail\/detail&quot;
},
&quot;flash_sale&quot;: null,
&quot;exchange&quot;: null
},
&quot;goods_coupon_center&quot;: [
{
&quot;id&quot;: &quot;17&quot;,
&quot;name&quot;: &quot;111111111111111111&quot;,
&quot;type&quot;: &quot;2&quot;,
&quot;discount&quot;: 10,
&quot;discount_limit&quot;: 0,
&quot;desc&quot;: &quot;&quot;,
&quot;min_price&quot;: 61,
&quot;sub_price&quot;: 5,
&quot;expire_type&quot;: &quot;1&quot;,
&quot;expire_day&quot;: &quot;100&quot;,
&quot;begin_time&quot;: &quot;0000-00-00 00:00:00&quot;,
&quot;end_time&quot;: &quot;0000-00-00 00:00:00&quot;,
&quot;appoint_type&quot;: &quot;3&quot;,
&quot;rule&quot;: &quot;&quot;,
&quot;can_receive_count&quot;: &quot;1&quot;,
&quot;is_receive&quot;: &quot;1&quot;,
&quot;cat&quot;: [],
&quot;goods&quot;: [],
&quot;share_type&quot;: 4
}
],
&quot;goods_activity&quot;: {
&quot;full_reduce&quot;: null
},
&quot;express&quot;: &quot;&quot;,
&quot;price_member_max&quot;: 500,
&quot;price_member_min&quot;: 500,
&quot;is_video_number&quot;: false,
&quot;limit_buy&quot;: {
&quot;status&quot;: 0,
&quot;rest_number&quot;: 0,
&quot;type&quot;: &quot;day&quot;,
&quot;text&quot;: &quot;&quot;,
&quot;msg&quot;: &quot;&quot;,
&quot;value&quot;: 0
},
&quot;sell_time&quot;: 0,
&quot;is_finish_sell&quot;: false,
&quot;template_message_list&quot;: [],
&quot;form_goods&quot;: [],
&quot;extra_quick_share&quot;: null,
&quot;is_quick_shop&quot;: 0,
&quot;is_sell_well&quot;: 0,
&quot;is_negotiable&quot;: 0,
&quot;cats&quot;: [
&quot;69&quot;
]
},
&quot;delivery&quot;: &quot;&quot;
}
}
</code></pre>