简要描述:

请求域名:

  • http://xx.com

请求URL:

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

参数:

参数名 是否必须 类型 说明
cstore_id int 商户ID
distance int 群距离范围,单位为km
longitude float 经度
latitude float 纬度
time_type string today:今天 yesterday:昨天

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "store": {
            "id": 7,
            "store_name": "测试门店1",
            "store_logo_url": "https://img2.woyaogexing.com/2022/05/17/baa7ddd4e31140839576d3221badd35d!400x400.jpeg"
        },
        "auth_type": 3,
        "auth_type_name": "店长",
        "slide": [
            {
                "image": "newimage/5d5feaadb110164c2aa168ec76c677a1.jpg",
                "image_url": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/5d5feaadb110164c2aa168ec76c677a1.jpg",
                "mini_route": "/packageD/member/footprint/footprint"
            },
            {
                "image": "newimage/12faf451347155a3e86ea12facedb544.jpg",
                "image_url": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/12faf451347155a3e86ea12facedb544.jpg",
                "mini_route": ""
            }
        ],
        "group_list": {
            "group_count": 1,
            "member_count": 5
        },
        "store_list": [
            {
                "id": 2,
                "store_name": "商户33333",
                "store_logo": "newimage/5d5feaadb110164c2aa168ec76c677a1.jpg",
                "expire_time_str": "1970-01-01 08:00:00",
                "expire_status": 1,
                "source_name": "",
                "province": "",
                "city": "",
                "district": "",
                "street": "",
                "agreement_download_url": "",
                "first_category": "",
                "second_category": "",
                "third_category": "",
                "store_logo_url": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/5d5feaadb110164c2aa168ec76c677a1.jpg",
                "store_banner_url": "",
                "customer_code_url": "",
                "business_pics_url": "",
                "identity_front_image_url": "",
                "identity_back_image_url": "",
                "another_pics_url": []
            },
            {
                "id": 7,
                "store_name": "测试门店1",
                "store_logo": "https://img2.woyaogexing.com/2022/05/17/baa7ddd4e31140839576d3221badd35d!400x400.jpeg",
                "expire_time_str": "1970-01-01 08:00:00",
                "expire_status": 1,
                "source_name": "",
                "province": "",
                "city": "",
                "district": "",
                "street": "",
                "agreement_download_url": "",
                "first_category": "",
                "second_category": "",
                "third_category": "",
                "store_logo_url": "https://img2.woyaogexing.com/2022/05/17/baa7ddd4e31140839576d3221badd35d!400x400.jpeg",
                "store_banner_url": "",
                "customer_code_url": "",
                "business_pics_url": "",
                "identity_front_image_url": "",
                "identity_back_image_url": "",
                "another_pics_url": []
            }
        ],
        "count": {
            "confirm_order": 2,
            "wait_confirm_order": 0,
            "pay_order": 0,
            "refund_order": 0,
            "member_count": 0,
            "sale_goods": 1
        }
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明
data.store object 商户信息
data.auth int 1为普通核销员,2为有店长权限的核销员,3为店长
data.auth_type_name string 身份类型描述
data.slide arr 广告图片数组
data.group_list.group_count int 群数量
data.group_list.member_count int 群客户数量
data.count.confirm_order int 已核销订单
data.count.wait_confirm_order int 待核销订单
data.count.pay_order int 已支付订单
data.count.refund_order int 已退款订单
data.count.member_count int 会员数量
data.count.sale_goods int 在售商品
data.store_list arr 可切换商户列表