多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 获取用户信息 > **注:** 用户所在部门(departments)的前端数据渲染,需要前端根据保存的组织架构数据和本接口数据进行关联处理,正确显示层级结构和名称。 ~~~[api] get:/v1/user/getUser *string:open_id# <<< success { "code": 0, "msg": "ok", "data": { "open_id": "1381c432a79930f6c2cb7f65d15f7290", "name": "测试", "account": "", "photo": "", "gender": 0, "mobile": "15000000000", "fax": "", "email": "q00@qq.qq", "birthday": "", "number": 133722, "cornet": "", "tel": "", "sign": "", "online_time": 0, "intro": "", "role": 0, "timestamp": "1562228478", "status_del": 0, "sys_user": 1, "departments": [ { "bloc_id": "1_13234", "group_id": "2_13874", "org_id": "3_36464", "department_id": "0" }, { "bloc_id": "1_13234", "group_id": "0", "org_id": "3_36464", "department_id": "3_36464" }, { "bloc_id": "1_13234", "group_id": "0", "org_id": "3_36464", "department_id": "4_6875" }, { "bloc_id": "1_13234", "group_id": "0", "org_id": "3_36464", "department_id": "4_6876" }, { "bloc_id": "1_13234", "group_id": "0", "org_id": "3_36464", "department_id": "4_6877" } ] } } <<< error ~~~