POST xuner/soc/Social/getshopgoodsAll
获取商城商品
请求信息
URI 参数
无。
Body 参数
ShopGoodsRequest| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| pageNum |
取第几页的数据 |
integer |
无。 |
| PageSize |
每页多少条数据,默认10 |
integer |
无。 |
请求格式
application/json, text/json
样例:
{
"pageNum": 1,
"PageSize": 2
}
响应信息
资源描述
获取商城商品
gSocResponseOfListItemshopOfShopGoods| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| data | ListItemshopOfShopGoods |
无。 |
|
| req | string |
无。 |
|
| msg | string |
无。 |
|
| code | integer |
无。 |
响应格式
application/json, text/json
样例:
{
"data": {
"records": [
{
"name": "sample string 1",
"config": [
{
"productId": "sample string 1",
"productCode": "sample string 2",
"productName": "sample string 3",
"imgUrlArray": [
{
"img": "sample string 1"
},
{
"img": "sample string 1"
}
],
"shopCount": "sample string 4",
"brandId": 5,
"brandName": "sample string 6",
"createTime": "2026-02-04T10:55:03.287214+08:00",
"updateTime": "2026-02-04T10:55:03.287214+08:00",
"specsList": [
{
"specsName": "sample string 1",
"specsOptionAttrCode": "sample string 2",
"specsOptionAttr": "sample string 3"
},
{
"specsName": "sample string 1",
"specsOptionAttrCode": "sample string 2",
"specsOptionAttr": "sample string 3"
}
],
"sort": 9,
"shopPrice": 10.0,
"scorePrice": 11.0,
"recordId": "sample string 12",
"activityType": 13,
"carUserType": 14,
"zeroPurchaseData": "sample string 15",
"discountData": "sample string 16"
},
{
"productId": "sample string 1",
"productCode": "sample string 2",
"productName": "sample string 3",
"imgUrlArray": [
{
"img": "sample string 1"
},
{
"img": "sample string 1"
}
],
"shopCount": "sample string 4",
"brandId": 5,
"brandName": "sample string 6",
"createTime": "2026-02-04T10:55:03.287214+08:00",
"updateTime": "2026-02-04T10:55:03.287214+08:00",
"specsList": [
{
"specsName": "sample string 1",
"specsOptionAttrCode": "sample string 2",
"specsOptionAttr": "sample string 3"
},
{
"specsName": "sample string 1",
"specsOptionAttrCode": "sample string 2",
"specsOptionAttr": "sample string 3"
}
],
"sort": 9,
"shopPrice": 10.0,
"scorePrice": 11.0,
"recordId": "sample string 12",
"activityType": 13,
"carUserType": 14,
"zeroPurchaseData": "sample string 15",
"discountData": "sample string 16"
}
],
"activityType": 2,
"subtitle": "sample string 3"
},
{
"name": "sample string 1",
"config": [
{
"productId": "sample string 1",
"productCode": "sample string 2",
"productName": "sample string 3",
"imgUrlArray": [
{
"img": "sample string 1"
},
{
"img": "sample string 1"
}
],
"shopCount": "sample string 4",
"brandId": 5,
"brandName": "sample string 6",
"createTime": "2026-02-04T10:55:03.287214+08:00",
"updateTime": "2026-02-04T10:55:03.287214+08:00",
"specsList": [
{
"specsName": "sample string 1",
"specsOptionAttrCode": "sample string 2",
"specsOptionAttr": "sample string 3"
},
{
"specsName": "sample string 1",
"specsOptionAttrCode": "sample string 2",
"specsOptionAttr": "sample string 3"
}
],
"sort": 9,
"shopPrice": 10.0,
"scorePrice": 11.0,
"recordId": "sample string 12",
"activityType": 13,
"carUserType": 14,
"zeroPurchaseData": "sample string 15",
"discountData": "sample string 16"
},
{
"productId": "sample string 1",
"productCode": "sample string 2",
"productName": "sample string 3",
"imgUrlArray": [
{
"img": "sample string 1"
},
{
"img": "sample string 1"
}
],
"shopCount": "sample string 4",
"brandId": 5,
"brandName": "sample string 6",
"createTime": "2026-02-04T10:55:03.287214+08:00",
"updateTime": "2026-02-04T10:55:03.287214+08:00",
"specsList": [
{
"specsName": "sample string 1",
"specsOptionAttrCode": "sample string 2",
"specsOptionAttr": "sample string 3"
},
{
"specsName": "sample string 1",
"specsOptionAttrCode": "sample string 2",
"specsOptionAttr": "sample string 3"
}
],
"sort": 9,
"shopPrice": 10.0,
"scorePrice": 11.0,
"recordId": "sample string 12",
"activityType": 13,
"carUserType": 14,
"zeroPurchaseData": "sample string 15",
"discountData": "sample string 16"
}
],
"activityType": 2,
"subtitle": "sample string 3"
}
],
"activityType": 1,
"subtitle": "sample string 2"
},
"req": "sample string 1",
"msg": "sample string 2",
"code": 3
}