Files
ai_wht_B/员工接口文档_20251229.csv
“shengyudong” 5a384b694e 2026-1-6
2026-01-06 14:18:39 +08:00

709 B
Raw Permalink Blame History

1endpointmethoddescriptionauthparamsresponse
2/api/employees/listGET获取员工列表(分页查询)需要认证page, pageSize, keyword, status, isBoundXHS返回员工列表(含姓名、手机、角色、绑定状态等)
3/api/employees/statsGET获取员工统计(总数、激活数、绑定小红书数)需要认证返回员工统计数据total_count, active_count, bound_xhs_count
4/api/employees/addPOST添加员工需要认证+角色(enterprise)name, phone, password, role, department返回新创建的员工ID
5/api/employees/<employee_id>DELETE删除员工(软删除)需要认证+角色(enterprise)employee_id (路径参数)返回删除成功消息