简要描述:

  • 专辑列表

请求URL:

GET/plugin.yz-supply.admin.productAlbum.getList

请求参数说明:

参数名 类型 是否必需 说明
middleground_configuration_id int true 采购端id
search arr true 搜索条件
search=>album_name str false 专辑名称
search=>start_at str false 开始时间
search=>end_at str false 结束时间
search=>is_hot int false 最热 1:正序2:倒叙 0:不搜索
search=>is_new int false 最新 1:正序2:倒叙 0:不搜索
search=>hot_import int false 热门导入 1:正序2:倒叙 0:不搜索
search=>hot_browse int false 热门访问 1:正序2:倒叙 0:不搜索
search=>page int false 页码
search=>pageSize int false 每页数量

返回示例:

正确时返回:

{
  "result": 1,
  "msg": "获取成功",
  "data": {
    "list": [
      {
        "id": 2,
        "created_at": 1655361360,
        "updated_at": 1656664795,
        "uid": 1,
        "name": "阿斯顿撒多",
        "describe": "的数据库个好看夹覆盖",
        "covers": [
          {
            "src": "https://jhgyl-1309576924.cos.ap-guangzhou.myqcloud.com/2022413/1649832489v2-025c02403bde66c4d3e6ef237c7fb7e0_1440w.jpeg"
          },
          {
            "src": "https://jhgyl-1309576924.cos.ap-guangzhou.myqcloud.com/2022413/1649832494v2-c057fce621e66b10ddc772423de85127_1440w.jpeg"
          }
        ],
        "relations": [
          {
            "id": 1,
            "created_at": null,
            "updated_at": null,
            "product_album_id": 2,
            "tag_id": 2,
            "tag": {
              "id": 2,
              "created_at": 1655197351,
              "updated_at": 1655197351,
              "name": "标签1"
            }
          },
          {
            "id": 2,
            "created_at": null,
            "updated_at": null,
            "product_album_id": 2,
            "tag_id": 3,
            "tag": {
              "id": 3,
              "created_at": 1655197371,
              "updated_at": 1655197371,
              "name": "标签3"
            }
          }
        ],
        "relation_product": [
          {
            "id": 1,
            "created_at": 1655284871,
            "updated_at": 1655284871,
            "product_album_id": 2,
            "product_id": 324,
            "product": {
              "id": 324,
              "updated_at": 1655113195,
              "created_at": 1654745869,
              "title": "商品测试",
              "origin_price": 10000,
              "guide_price": 10000,
              "price": 10000,
              "cost_price": 9000,
              "activity_price": 10000,
              "min_price": 10000,
              "stock": 555,
              "sales": 21,
              "feedback_rate": 0,
              "cost_rate": 10,
              "sn": "",
              "code": "",
              "image_url": "https://jhgyl-1309576924.cos.ap-guangzhou.myqcloud.com/202269/1654745836高夫洗面奶.png",
              "video_url": ""
            }
          },
          {
            "id": 2,
            "created_at": 1655284871,
            "updated_at": 1655284871,
            "product_album_id": 2,
            "product_id": 325,
            "product": {
              "id": 325,
              "updated_at": 1654766521,
              "created_at": 1654745869,
              "title": "商品测试",
              "origin_price": 10000,
              "guide_price": 10000,
              "price": 10000,
              "cost_price": 9000,
              "activity_price": 10000,
              "min_price": 10000,
              "stock": 555,
              "sales": 12,
              "feedback_rate": 0,
              "cost_rate": 10,
              "sn": "",
              "code": "",
              "image_url": "https://jhgyl-1309576924.cos.ap-guangzhou.myqcloud.com/202269/1654745836高夫洗面奶.png",
              "video_url": ""
            }
          }
        ],
        "is_share": 1,
        "share_name": "",
        "import_count": 0,
        "browse_count": 17,
        "product_count": 0,
        "sales": 0,
        "time_name": ""
      }
    ],
    "total": 1,
    "page": 1,
    "pageSize": 15,
    "next_url": ""
  }
}

返回参数说明:

参数名 类型 说明
list arr 专辑列表
list=>id int 专辑id
list=>name str 专辑名称
list=>covers arr 专辑封面信息
list=>covers=>src str 专辑封面
list=>relations arr 标签信息
list=>relations=>tag=>name str 标签名称
list=>relation_product arr 商品信息
list=>relation_product=>product=>image_url str 商品图片
list=>time_name str 时间
list=>product_count int 商品数量
list=>sales_total int 已售数量
list=>import_count int 导入数量
list=>product_count int 浏览数量