简要描述:

  • 开品实验室--开品列表

请求域名:

  • http://xx.com

请求URL:

POST/plugin.kaipin-laboratory.frontend.product-plaza.get-product-log

参数:

参数名 是否必须 类型 说明
product_status int 状态, 0 待开品,1 已开品,2 出品种,3已完成, -1 开品失败
margin_status int 保证金状态,0 未缴纳,1 已缴纳, -1 已退还'
status int 报名状态,0 待通过,1 已通过,-1 已取消
product_name string 开品名称

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 3,
                "uniacid": 1,
                "member_id": 13669,
                "product_id": 1,
                "number": 1000,
                "margin": "0.00",
                "margin_status": 0,
                "status": 0,
                "remark": "",
                "created_at": "2024-06-20 17:14:47",
                "deleted_at": null,
                "updated_at": "2024-06-20 17:14:47",
                "status_name": "待通过",
                "margin_status_name": "未缴纳",
                "product": {
                    "id": 1,
                    "name": "戴拿",
                    "main_images": [
                        "http://www.shop777.com/static/upload/images/1/2024/04/a58ac15c1a88989af02654b68d1568d4.jpg",
                        "http://www.shop777.com/static/upload/images/1/2024/04/4d1d15e21ce57907f701b37d1d0bb46b.gif",
                        "http://www.shop777.com/static/upload/newimage/1bf039266981330e8563577da5926b6f.jpg",
                        "http://www.shop777.com/static/upload/images/1/2024/01/0b20441de360c4e590b26e50eed1dc01.jpg",
                        "http://www.shop777.com/static/upload/images/1/2024/01/241fed586ea860e69064ce029009144c.jpg",
                        "http://www.shop777.com/static/upload/images/1/2024/01/7ffd8413e76ef66b13a7b1f73e1144b5.gif",
                        "http://www.shop777.com/static/upload/images/1/2024/01/7e0110b949dd53e631493858ef224b8c.jpg",
                        "http://www.shop777.com/static/upload/images/1/2023/11/e91c1d2ca453e1c2179c16f3326c830f.jpg"
                    ],
                    "status": 0,
                    "status_name": "待开品"
                }
            },
            {
                "id": 2,
                "uniacid": 1,
                "member_id": 13669,
                "product_id": 1,
                "number": 10,
                "margin": "0.00",
                "margin_status": -1,
                "status": -1,
                "remark": "dfgdgfdg",
                "created_at": "2024-06-20 17:08:55",
                "deleted_at": null,
                "updated_at": "2024-06-20 17:18:40",
                "status_name": "已取消",
                "margin_status_name": "已退还",
                "product": {
                    "id": 1,
                    "name": "戴拿",
                    "main_images": [
                        "http://www.shop777.com/static/upload/images/1/2024/04/a58ac15c1a88989af02654b68d1568d4.jpg",
                        "http://www.shop777.com/static/upload/images/1/2024/04/4d1d15e21ce57907f701b37d1d0bb46b.gif",
                        "http://www.shop777.com/static/upload/newimage/1bf039266981330e8563577da5926b6f.jpg",
                        "http://www.shop777.com/static/upload/images/1/2024/01/0b20441de360c4e590b26e50eed1dc01.jpg",
                        "http://www.shop777.com/static/upload/images/1/2024/01/241fed586ea860e69064ce029009144c.jpg",
                        "http://www.shop777.com/static/upload/images/1/2024/01/7ffd8413e76ef66b13a7b1f73e1144b5.gif",
                        "http://www.shop777.com/static/upload/images/1/2024/01/7e0110b949dd53e631493858ef224b8c.jpg",
                        "http://www.shop777.com/static/upload/images/1/2023/11/e91c1d2ca453e1c2179c16f3326c830f.jpg"
                    ],
                    "status": 0,
                    "status_name": "待开品"
                }
            }
        ],
        "first_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
        "links": [
            {
                "url": null,
                "label": "« 上一页",
                "active": false
            },
            {
                "url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "下一页 »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://www.shop777.com/addons/yun_shop/api.php",
        "per_page": 15,
        "prev_page_url": null,
        "to": 2,
        "total": 2,
        "my_product_count": 2,
        "my_comment_count": 3,
        "member": {
            "uid": 13669,
            "nickname": "13*******79",
            "avatar": "http://www.shop777.com/static/upload/images/1/2022/10/cc99807ae153d0ee9c4e059af56f8c70.jpeg",
            "mobile": "13751611479",
            "avatar_image": "http://www.shop777.com/static/upload/images/1/2022/10/cc99807ae153d0ee9c4e059af56f8c70.jpeg",
            "username": "13*******79"
        }
    }
}

返回参数列表数组data.data说明:

参数名 类型 说明
id int 参加开品记录id
status int 参与状态 0 待通过,1 已通过,-1 已取消
status_name string 参与状态名称
number int 参与数量
main_images_url array 主图数组
margin string 保证金额
margin_status int 0 未缴纳,1 已缴纳, -1 已退还
margin_status_name string 保证金额状态名称
created_at string 记录时间
product.id int 开品id
product.name string 开品名称
product.main_images array 开品主图数组
product.status int 开品状态
product.status_name string 开品状态名称

返回参数列表对象data说明:

参数名 类型 说明
my_product_count int 会员参与开品总数量
my_comment_count int 会员品论总数
member.uid int 开品id
member.nickname string 会员昵称
member.mobile array 会员电话
member.avatar string 开品状态

备注:

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