🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 运营架构列表 +++ get:/api/v1/sys/team pid#团队id,默认取所有团队 list=0#是否按照上下级展示,0(默认)按照上下级展示,1列表展示 type=0#是否展示团队人员,0(默认)展示,1:不展示团队人员 school=0#是否取学校信息,默认不取,1取,0不取 role=0#1是校长,0不是 team_id#登录人的分校id <<< success { "status": 1, "info": "success", "data": [ { "id": 1, "name": "十二学全国校区", "pid": 0, "level": 10,//级别,10全国,9省级,8市级,7区级,6校级 "owner_uid": "1054145308280659644", "owner_name": "王勋达", "type": 1,//1运营中心,2运营人员,3学校 "item": [ { "id": 1, "name": "admin", "pid": 1, "level": 0, "owner_uid": 1, "owner_name": "admin", "type": 2 }, { "id": 2, "name": "青岛校区", "pid": 1, "level": 10, "owner_uid": 1, "owner_name": "焦丽娜", "type": 1 }, { "id": 3, "name": "济南总校区", "pid": 1, "level": 9, "owner_uid": 1, "owner_name": "张让科", "type": 1, "item": [ { "id": "1033145705652156254", "name": "校长", "pid": 3, "level": 0, "owner_uid": "1033145705652156254", "owner_name": "校长", "type": 2 }, { "id": "1034145308280458133", "name": "文征明", "pid": 3, "level": 0, "owner_uid": "1034145308280458133", "owner_name": "文征明", "type": 2, "item": [ { "id": "1001144253860353848", "name": "山东省莱山第一中学", "pid": "1034145308280458133", "type": 3 } ] }, { "id": 7, "name": "济南办事处", "pid": 3, "level": 8, "owner_uid": 1, "owner_name": "张让科", "type": 1 } ] }, { "id": 4, "name": "姜书生团队", "pid": 1, "level": 9, "owner_uid": 1, "owner_name": "姜书生", "type": 1, "item": [ { "id": "1033145705652157153", "name": "邹峰", "pid": 4, "level": 0, "owner_uid": "1033145705652157153", "owner_name": "邹峰", "type": 2 }, { "id": "1033145705652157177", "name": "小影", "pid": 4, "level": 0, "owner_uid": "1033145705652157177", "owner_name": "小影", "type": 2, "item": [ { "id": "1033144642844250888", "name": "烟台高新技术产业开发区实验中学", "pid": "1033145705652157177", "type": 3 } ] } ] }, { "id": 5, "name": "李伟团队", "pid": 1, "level": 9, "owner_uid": 1, "owner_name": "李伟", "type": 1 }, { "id": 6, "name": "南京运营中心", "pid": 1, "level": 8, "owner_uid": 1, "owner_name": "芮海军", "type": 1 }, { "id": 15, "name": "烟台总校区", "pid": 1, "level": 8, "owner_uid": null, "owner_name": null, "type": 1 } ] } ] } <<< error { "status": 0, "info": "操作失败", "data": [] } +++