6 lines
709 B
CSV
6 lines
709 B
CSV
|
|
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 (路径参数),返回删除成功消息
|