简要描述:

  • 转赠明细

请求域名:

  • http://xx.com

请求URL:

POST/plugin.collection-center.frontend.controllers.record.transfer-record

参数:

参数名 是否必须 类型 说明
has_transfer int 1=转赠藏品,0=受赠藏品

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "record_list": {
            "current_page": 1,
            "data": [
                {
                    "member_id": 2,
                    "transfer_id": 6,
                    "goods_id": 112,
                    "goods_name": "测试1-藏品1-1",
                    "created_at": "2023-07-25 15:26:46",
                    "total": 1,
                    "goods": {
                        "id": 112,
                        "thumb": "https://img0.baidu.com/it/u=1937665916,307154246&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=333",
                        "status_name": null
                    }
                }
            ],
            "first_page_url": "http://yzhonshop.com/addons/yun_shop/api.php?page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "http://yzhonshop.com/addons/yun_shop/api.php?page=1",
            "next_page_url": null,
            "path": "http://yzhonshop.com/addons/yun_shop/api.php",
            "per_page": 15,
            "prev_page_url": null,
            "to": 1,
            "total": 1
        }
    }
}

错误时返回:

  {
    "errcode": 500,
    "errmsg": "invalid appid"
  }

返回参数说明:

参数名 类型 说明
record_list.goods_name string 藏品名称
record_list.transfer_id string 受赠会员id
record_list.member_id string 转赠会员id
record_list.total int 数量
record_list.created_at string 创建时间

备注:

  • 更多返回错误代码请看首页的错误代码描述