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

6 lines
709 B
CSV
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

endpoint,method,description,auth,params,response
/api/employees/list,GET,获取员工列表(分页查询),需要认证,"page, pageSize, keyword, status, isBoundXHS",返回员工列表(含姓名、手机、角色、绑定状态等)
/api/employees/stats,GET,获取员工统计(总数、激活数、绑定小红书数),需要认证,,"返回员工统计数据total_count, active_count, bound_xhs_count"
/api/employees/add,POST,添加员工,需要认证+角色(enterprise),"name, phone, password, role, department",返回新创建的员工ID
/api/employees/<employee_id>,DELETE,删除员工(软删除),需要认证+角色(enterprise),employee_id (路径参数),返回删除成功消息