简要描述:

  • 区域代理申请状态接口

请求域名:

  • http://test.yunzshop.com

请求URL:

POST: plugin.area-dividend.api.area-dividend.apply-status

参数:

参数名 是否必须 类型 说明
i int 店铺ID

返回示例:

开启升级条件

{
    "result": 1,
    "msg": "ok",
    "data": {
        "level_name": "等级二",
        "has_upgrade": true,
        "push_num": "3",
        "price": "100",
        "have_push_num": 0,
        "self_price": "14173.99",
        "has_buy_goods": false,
        "goods_list": {
            "current_page": 1,
            "data": [
                {
                    "id": 9,
                    "thumb": "https://dev8.yunzmall.com/static/upload/images/1/2021/11/VmcHJ2jN2mCzUr76XR8nMqSjXRql78.jpg",
                    "title": "测试商品2",
                    "price": "100.00",
                    "description": "",
                    "status_name": null
                }
            ],
            "first_page_url": "https://dev8.yunzmall.com/addons/yun_shop/api.php?page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "https://dev8.yunzmall.com/addons/yun_shop/api.php?page=1",
            "next_page_url": null,
            "path": "https://dev8.yunzmall.com/addons/yun_shop/api.php",
            "per_page": 15,
            "prev_page_url": null,
            "to": 1,
            "total": 1
        },
    }
}

正确时返回:

{
result: 1,
msg: "正在审核中...,请耐心等待!",
data: {
apply: "0"
}
}

错误时返回:

{
result: 1,
msg: "您已是区域代理!",
data: {
apply: "4"
}
}

返回参数说明:

参数名 类型 说明
apply int 0:审核中 1:可以申请 2:申请驳回后可再次申请 3:申请驳回后不可再次申请 4:已是区域代理 不可申请

备注:

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