API接口文档

所有店铺 - 列表

创建于 2021-10-21 / 73

简要描述

所有店铺列表

接口版本

版本号 制定人 制定日期 修订日期
1.0.0 Devil 2020-09-29

请求URL

plugins/index&pluginsname=shop&pluginscontrol=index&pluginsaction=shoplist

请求方式

POST

公共参数

参数名 是否必须 类型 默认值 描述
application string web 请求应用、参考公共中详解
application_client_type string pc 请求客户端、参考公共中详解
token string token

请求参数

{
    "page": 1,
    "category_id": "0"
}
参数名 是否必须 类型 默认值 描述
page int 分页值
category_id int 分类id(0则全部)

返回示例

正确时返回

{
    "msg": "处理成功",
    "code": 0,
    "data": {
        "page_total": 1,
        "total": 1,
        "data": [
            {
                "id": "1",
                "user_id": "1",
                "status": "2",
                "logo": "https://d1.shopxo.vip/static/upload/images/plugins_shop/user_shop/4148/2021/04/15/1618475981109734.jpg",
                "logo_long": "https://d1.shopxo.vip/static/upload/images/plugins_shop/user_shop/4148/2021/04/15/1618476262656662.png",
                "banner": "",
                "name": "ShopXO多商户店铺",
                "describe": "我们专注提供专业的软件产品和技术。为合作伙伴提供安全可靠的软件产品与解决方案,共同帮助终端用户实现业务创新、快速发展。",
                "category_id": "1",
                "data_model": "0",
                "expire_time": "0",
                "service_weixin_qrcode": "https://d1.shopxo.vip/static/upload/images/plugins_shop/user_shop/4148/2021/04/15/1618476097689249.png",
                "service_qq": "386392432",
                "service_tel": "400-888-8888",
                "notice_mobile": "",
                "notice_email": "",
                "open_week": "0",
                "close_week": "4",
                "open_time": "10:00",
                "close_time": "18:00",
                "is_extraction": "1",
                "contacts_name": "devil",
                "contacts_tel": "13222333344",
                "province": "9",
                "city": "152",
                "county": "1896",
                "address": "浦江地铁站",
                "lng": "0.0000000000",
                "lat": "0.0000000000",
                "auth_type": "1",
                "company_name": "纵之格",
                "company_number": "112233",
                "company_license": "",
                "more_prove": [],
                "idcard_name": "shopxo",
                "idcard_number": "522228177188888822",
                "idcard_front": "https://d1.shopxo.vip/static/upload/images/plugins_shop/user_shop/4148/2021/04/15/1618475981109734.jpg",
                "idcard_back": "https://d1.shopxo.vip/static/upload/images/plugins_shop/user_shop/4148/2021/04/15/1618475981109734.jpg",
                "settle_type": "1",
                "settle_rate": "0.00",
                "is_user_settle": "1",
                "fail_reason": "",
                "seo_title": "",
                "seo_keywords": "",
                "seo_desc": "",
                "add_time": "2021-04-15 16:42:29",
                "upd_time": "2021-07-29 13:16:57",
                "user": [],
                "url": "https://d1.shopxo.vip/plugins/index/pluginsname/shop/pluginscontrol/index/pluginsaction/detail/id/1.html",
                "province_name": "上海市",
                "city_name": "闵行区",
                "county_name": "浦江镇",
                "goods_count": 6,
                "goods_sales_count": 75,
                "shop_favor_count": 8,
                "auth_type_name": "企业",
                "category_name": "数码家电",
                "status_name": "已审核",
                "settle_type_name": "商品配置(金额|比例)",
                "data_model_name": "自动模式",
                "expire_time_text": "永久",
                "open_week_name": "周一",
                "close_week_name": "周五"
            }
        ]
    }
}

错误时返回

{
    "msg": "error",
    "code": -1,
    "data": []
}

返回参数说明 -> data

参数名 是否必须 类型 描述
page_total int 分页总数
total int 数据总数
data array 数据列表

备注

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

0 人点赞过