2026-1-6
This commit is contained in:
5
员工接口文档_20251229.csv
Normal file
5
员工接口文档_20251229.csv
Normal file
@@ -0,0 +1,5 @@
|
||||
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 (路径参数),返回删除成功消息
|
||||
|
Reference in New Issue
Block a user