简要描述:

  • 区域代理信息接口

请求域名:

请求URL:

POST: route=plugin.micro.frontend.controllers.MicroShopBonusLog.list

参数:

参数名 是否必须 类型 说明
i int 公众号ID

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "status": 1,
        "list": {
            "total": 2,
            "per_page": 10,
            "current_page": 1,
            "last_page": 1,
            "next_page_url": null,
            "prev_page_url": null,
            "from": 1,
            "to": 2,
            "data": [
                {
                    "id": 1,
                    "uniacid": 2,
                    "shop_id": 1,
                    "member_id": 1,
                    "bonus_money": "123.00",
                    "bonus_ratio": "20.00",
                    "level_id": 7,
                    "order_id": 0,
                    "order_sn": "sn9198247891",
                    "order_buyer": 2,
                    "goods_id": 0,
                    "goods_title": "测试微店商品",
                    "goods_price": "123.00",
                    "goods_cost_price": "55.00",
                    "goods_thumb": "",
                    "pay_type": 0,
                    "pay_sn": "",
                    "pay_time": 0,
                    "complete_time": 0,
                    "order_status": 0,
                    "apply_status": 0,
                    "apply_time": 0,
                    "is_lower": 0,
                    "lower_level_shop_id": 0,
                    "lower_level_member_id": 0,
                    "lower_level_nickname": "0",
                    "lower_level_bonus_money": "0.00",
                    "agent_bonus_ratio": "0.00",
                    "created_at": "2017-05-17 12:01:48",
                    "updated_at": "1970-01-01 08:00:00",
                    "deleted_at": 0,
                    "mode_type": "微店分红",
                    "status_name": "未结算",
                    "has_one_micro_shop": {
                        "id": 1,
                        "uniacid": 2,
                        "member_id": 1,
                        "level_id": 7,
                        "shop_name": "测试微店",
                        "shop_avatar": "http://sp.com/attachment/images/2/2017/05/Iyh2eGuJYc22ya6yYhUyKkXjwhpxyk.jpg",
                        "signature": "个性签名",
                        "created_at": "2017-05-15 10:39:22",
                        "updated_at": "1970-01-01 08:00:00",
                        "deleted_at": 0
                    },
                    "has_one_member": {
                        "uid": 1,
                        "uniacid": 2,
                        "mobile": "15220038141",
                        "email": "628051cfda261edb657ee0a6fdc472bc@we7.cc",
                        "password": "09b583f35e8a385723b56888e2ebb740",
                        "salt": "ho3EXW7W",
                        "groupid": 2,
                        "credit1": "14164.40",
                        "credit2": "12634.97",
                        "credit3": "0.00",
                        "credit4": "0.00",
                        "credit5": "0.00",
                        "credit6": "0.00",
                        "createtime": 1470723551,
                        "realname": "刘洁宜",
                        "nickname": "碳酸果汁",
                        "avatar": "http://wx.qlogo.cn/mmopen/Dv08X2Uo7APTwbhzHicNbSErluJ7YC1wCqrz2uuwkDqicGwqkpd9aLWQ8FcibMd0ma8JMK3PgDvzEmToTY6bxjbwticnzfy3Yib6ic/0",
                        "qq": "",
                        "vip": 0,
                        "gender": 0,
                        "birthyear": 0,
                        "birthmonth": 0,
                        "birthday": 0,
                        "constellation": "",
                        "zodiac": "",
                        "telephone": "",
                        "idcard": "",
                        "studentid": "",
                        "grade": "",
                        "address": "",
                        "zipcode": "",
                        "nationality": "中国",
                        "resideprovince": "",
                        "residecity": "",
                        "residedist": "",
                        "graduateschool": "",
                        "company": "",
                        "education": "",
                        "occupation": "",
                        "position": "",
                        "revenue": "",
                        "affectivestatus": "",
                        "lookingfor": "",
                        "bloodtype": "",
                        "height": "",
                        "weight": "",
                        "alipay": "",
                        "msn": "",
                        "taobao": "",
                        "site": "",
                        "bio": "",
                        "interest": "",
                        "credit20": "0.00"
                    },
                    "has_one_micro_shop_level": {
                        "id": 7,
                        "uniacid": 2,
                        "level_weight": 3,
                        "level_name": "特级微店",
                        "bonus_ratio": "30.00",
                        "goods_id": 50,
                        "created_at": "2017-05-10 16:17:44",
                        "updated_at": "2017-05-10 16:17:44",
                        "deleted_at": 0
                    }
                }
            ]
        }
    }
}

错误时返回:

{
    "result":0,
    "msg":"未检测到数据!",
    "data": {
    }
}

返回参数说明:

参数名 类型 说明
mode_type string 分红类型
status_name string 分红状态

备注:

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