简要描述:
- 通过专题id获取专题详情
请求URL:
GET/route=plugin.project-template.frontend.topic.getTopicGoodsByTopicId&topic_id=3
返回示例:
正确时返回:
{
"current_page":1,
"data":[
{
"id":3567,
"uniacid":5,
"brand_id":0,
"type":1,
"status":1,
"display_order":0,
"title":"321",
"thumb":"https:\/\/supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com\/202278\/1657265003yz_supply.png",
"thumb_url":"a:1:{i:0;s:88:\"https:\/\/supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com\/202278\/1657265006yz_supply.png\";}",
"sku":"\u4e2a",
"description":"",
"content":"",
"goods_sn":"",
"product_sn":"",
"market_price":"100.00",
"price":"100.00",
"cost_price":"100.00",
"stock":100,
"reduce_stock_method":0,
"show_sales":0,
"real_sales":0,
"weight":"0.00",
"has_option":1,
"is_new":0,
"is_hot":0,
"is_discount":0,
"is_recommand":0,
"is_comment":0,
"is_deleted":0,
"created_at":"2022-07-20 17:06:26",
"deleted_at":null,
"updated_at":"2022-07-20 17:06:26",
"comment_num":0,
"is_plugin":0,
"plugin_id":120,
"virtual_sales":0,
"no_refund":0,
"need_address":0,
"type2":1,
"old_id":null,
"volume":null,
"alias":"",
"status_name":"\u4e0a\u67b6",
"has_many_options":[
{
"id":4062,
"uniacid":5,
"goods_id":3567,
"title":"\u9ed8\u8ba4",
"thumb":null,
"product_price":"2222.00",
"market_price":"2222.00",
"cost_price":"2222.00",
"stock":999999,
"weight":"0.00",
"display_order":0,
"specs":"5315",
"skuId":"",
"goods_sn":"",
"product_sn":"",
"virtual":0,
"red_price":"",
"volume":null
}
]
}
],
"first_page_url":"http:\/\/shop\/admin\/shop?page=1",
"from":1,
"last_page":1,
"last_page_url":"http:\/\/shop\/admin\/shop?page=1",
"next_page_url":null,
"path":"http:\/\/shop\/admin\/shop",
"per_page":20,
"prev_page_url":null,
"to":1,
"total":1
}
参数名 | 类型 | 说明 |
---|