💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] ## 分配会员给员工 ~~~[api] post:/distribution/randmember *array:users=默认值#员工id数组 *int:num#数量 *int:user_id#被分配人id <<< success { "code": 0, "info": "成功", "data": true } <<< error ~~~ ## 分配列表 ~~~[api] post:/distribution/list *int:page#页码 *int:limit#每页数量 <<< success { "code": 0, "info": "成功", "data": [{ "id": 1, "user_id": 1000, "num": 4, "createtime": "2018年12月05 11:23:51", "out_user_id": 1000, "title": "分配了老板的会员共计4人", "user_name": "老板", "child": [{ "id": 1, "user_id": 1001, "num": 2, "distribution_id": 1, "name": "李亮" }, { "id": 2, "user_id": 1002, "num": 2, "distribution_id": 1, "name": "王伟" }] }] } <<< error ~~~ ## 分配记录员工等级列表 ~~~[api] post:/distribution/levellist *int:id#记录id *int:user_id#员工id <<< success { "code": 0, "info": "成功", "data": { "all": 2, "list": [{ "id": 1, "name": "黄金", "num": 2 }, { "id": 6, "name": "白金", "num": 0 }, { "id": 9, "name": "钻石", "num": 0 }, { "id": 14, "name": "测试", "num": 0 }] } } <<< error ~~~ ## 分配记录员工等级会员列表 ~~~[api] post:/distribution/memberlist *int:id#记录id *int:user_id#员工id *int:level_id#等级id 如果是全部传0 *int:page#页码 *int:limit#每页数量 <<< success { "code": 0, "info": "成功", "data": [{ "id": 1, "phone": "", "member_name": "", "member_card": null, "score": 0, "total_score": 0, "join_date": "2018-05-23", "user_id": 1002, "sex": 1, "birthday": null, "sn": "", "flag": 1, "flag_time": 1543980231, "wechat_user_id": 0, "wechat_card": 0, "state": 1, "level": 1, "balance": 0, "set_phone": "", "set_name": "", "set_birthday": null, "set_sex": 0, "set_sn": "", "come": 0, "shop_id": 1, "distribution_user_id": 0, "distribution_id": 1, "member_id": 525, "wechat_user": null, "member_level": { "id": 1, "name": "黄金", "url": "http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/wfRAAXJ16oLJ6p3icib2GSqgrdRW2Fzs6KicH3mAWXnjHibbDAicArDibS7icKCSxDrwGcibpGzSWMn64ZhsodDqTFC2VQ\/0?wx_fmt=jpeg", "remark": "哈哈为啥\n嘻嘻嘻嘻嘻嘻嘻嘻", "media_id": "", "picurl": "", "valid_num": 0 } }, { "id": 2, "phone": "", "member_name": "", "member_card": null, "score": 0, "total_score": 0, "join_date": "2017-06-30", "user_id": 1002, "sex": 2, "birthday": null, "sn": "", "flag": 1, "flag_time": 1543980231, "wechat_user_id": 171, "wechat_card": 0, "state": 1, "level": 1, "balance": 0, "set_phone": "", "set_name": "", "set_birthday": null, "set_sex": 0, "set_sn": "", "come": 0, "shop_id": 1, "distribution_user_id": 0, "distribution_id": 1, "member_id": 608, "wechat_user": { "id": 171, "is_follow": 1, "nickname": "伤心只一秒", "headimgurl": "http:\/\/thirdwx.qlogo.cn\/mmopen\/3moWoQPhMByI1j5qiacBNW8hEqKmh6ibicoxSEF3pVvpG9zGxI8nupqs975D7o7ib5ryib3lqeTDrkzv2ibsuKUy5PGPGAoEpbNdxm\/132", "openid": "oya5U1eHfjxVIZOYg5W9xuqE4zP4", "create_time": "2017-06-30 14:02:08", "last_time": 1498802528, "active_time": 1498802528, "card_code": "" }, "member_level": { "id": 1, "name": "黄金", "url": "http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/wfRAAXJ16oLJ6p3icib2GSqgrdRW2Fzs6KicH3mAWXnjHibbDAicArDibS7icKCSxDrwGcibpGzSWMn64ZhsodDqTFC2VQ\/0?wx_fmt=jpeg", "remark": "哈哈为啥\n嘻嘻嘻嘻嘻嘻嘻嘻", "media_id": "", "picurl": "", "valid_num": 0 } }] } <<< error ~~~