简要描述:

  • 招商员供应商列表

请求URL:

plugin.merchant.frontend.staff-supplier-list

参数:

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

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": [
        {
            "id": 28,
            "member_id": 293,
            "username": "2345",
            "password": "a32f3a28143cb0f2ed70f9889d4a9c84957c44a3",
            "realname": "测试",
            "mobile": "15212345678",
            "status": 1,
            "apply_time": 1494913660,
            "created_at": "2017-05-16 13:47:40",
            "updated_at": "2017-05-20 21:24:10",
            "deleted_at": 0,
            "uniacid": 2,
            "salt": "ssRQOR2K",
            "product": "服饰",
            "remark": "",
            "bonus_total": 0,
            "avatar": "http://wx.qlogo.cn/mmopen/I6WuQDwzlBOsXT7oQOibdcKI2gdCjkibkvS9uWdU09KMFCotUH0hga0s9axZvicrlknrG417TFMw1dNS4AcERvHvgS5RVicibCd5k/0",
            "nickname": "庆党",
            "title": "分红金额(已结算)",
            "has_one_member": {
                "uid": 293,
                "uniacid": 2,
                "mobile": "",
                "email": "",
                "password": "",
                "salt": "",
                "groupid": 2,
                "credit1": "0.00",
                "credit2": "0.00",
                "credit3": "0.00",
                "credit4": "0.00",
                "credit5": "0.00",
                "createtime": 1495602014,
                "realname": "",
                "nickname": "庆党",
                "avatar": "http://wx.qlogo.cn/mmopen/I6WuQDwzlBOsXT7oQOibdcKI2gdCjkibkvS9uWdU09KMFCotUH0hga0s9axZvicrlknrG417TFMw1dNS4AcERvHvgS5RVicibCd5k/0",
                "qq": "",
                "vip": 0,
                "gender": 1,
                "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": "",
                "credit6": "0.00"
            }
        }
    ]
}

错误时返回:

{
    "result":0,
    "msg":"未获取到供应商!",
    "data": {
		status: -1
    }
}

返回参数说明:

参数名 类型 说明
bonus_total float 分红金额
avatar string 头像
nickname string 昵称
title string 标题

备注:

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