简要描述:

请求域名:

  • http://xx.com

请求URL:

route=plugin.coupon-store.frontend.clerk-manage.clerkList

参数:

参数名 是否必须 类型 说明
cstore_id int 商户ID
kwd string 核销员姓名或手机号或者核销员关联会员昵称或手机号

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 4,
                "status": 1,
                "uid": 164935,
                "has_many_coupon_count": 0,
                "has_one_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"
                }
            }
        ],
        "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
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明
id int 核销员ID
status int 是否启用
has_one_member object 会员
has_many_coupon_count int 核销次数