简要描述:

  • 开品实验室--开品报名

请求域名:

  • http://xx.com

请求URL:

POST/plugin.kaipin-laboratory.frontend.product-plaza.get-all-comment

参数:

参数名 是否必须 类型 说明
id int 开品id
number int 报名数量

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1,
                "content": "99999999",
                "member_id": 1,
                "created_at": null,
                "count_child": 4,
                "comment": "此用户没有填写评价",
                "images_url": [
                    "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"
                ],
                "member": {
                    "uid": 1,
                    "nickname": "as",
                    "avatar": "http://www.shop777.com/static/upload/images/1/2022/12/1cf39f1438bce3a79d11c881b46b7c6f.gif",
                    "level_name": "无敌会员",
                    "avatar_image": "http://www.shop777.com/static/upload/images/1/2022/12/1cf39f1438bce3a79d11c881b46b7c6f.gif",
                    "username": "as"
                }
            }
        ],
        "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": 1,
        "total": 1
    }
}

错误时返回:

返回参数说明:

参数名 类型 说明
id int 评论id
content string 评论内容
images_url array 图片数组
created_at string 评论时间
count_child int 评论数量
member.uid int 会员id
member.nickname string 开品昵称
member.avatar string 会员头像
member.level_name string 会员等级名称

备注:

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