简要描述:

请求域名:

  • http://xx.com

请求URL:

route=plugin.coupon-store.frontend.store-manage.commentList

参数:

参数名 是否必须 类型 说明
cstore_id int 商户ID
comment_type int 1不推荐 2一般 3推荐
cstore_id int 商户ID

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "member": {
                    "uid": 164935,
                    "nickname": "13*******18",
                    "avatar": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.jj20.com%2Fup%2Fallimg%2F4k%2Fs%2F02%2F2109242332225H9-0-lp.jpg&refer=http%3A%2F%2Fimg.jj20.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1648801528&t=b4799f132cb208cd29e5ce7c360c8ce0",
                    "avatar_image": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.jj20.com%2Fup%2Fallimg%2F4k%2Fs%2F02%2F2109242332225H9-0-lp.jpg&refer=http%3A%2F%2Fimg.jj20.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1648801528&t=b4799f132cb208cd29e5ce7c360c8ce0",
                    "username": "13*******18"
                },
                "created_at": "2022-06-09 13:46:04",
                "comment": "hahahah   fafafafafafoisncslnvv\r\nsghsoijs[fk[pv,s\r\n\r\n\r\n\r\n\r\nposdghopsaaopfja[pfja",
                "images": [
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/5d5feaadb110164c2aa168ec76c677a1.jpg",
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
                    "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg"
                ],
                "comment_type_name": "不推荐",
                "order_goods": {
                    "title": "消费券商品20220623",
                    "thumb": "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/5d5feaadb110164c2aa168ec76c677a1.jpg"
                }
            }
        ],
        "first_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "http://zouye.yunzmall.com/addons/yun_shop/api.php",
        "per_page": 15,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明
member object 会员
created_at string 评价时间
comment string 评价
images arr 图片
comment_type_name string 评价类型
order_goods object 商品信息