批量删除 员工主播更新逻辑

This commit is contained in:
2025-07-09 16:53:06 +08:00
parent 65e24c51d9
commit c3ba308ca7
10 changed files with 49 additions and 15 deletions

View File

@@ -44,7 +44,7 @@ export const EmployeeBigBrotherApi = {
},
// 修改大哥数据员工业务
updateEmployeeBigBrother: async (data: EmployeeBigBrotherVO) => {
updateEmployeeBigBrother: async (data) => {
return await request.put({ url: `/server/employee-big-brother/update`, data })
},

View File

@@ -51,6 +51,10 @@ export const NewHostsApi = {
deleteNewHosts: async (id: number) => {
return await request.delete({ url: `/server/new-hosts/delete?id=` + id })
},
// 批量删除主播
deleteNewHostsList : async (ids: number[]) => {
return await request.delete({ url: '/server/new-hosts/delete-list', params: { ids: ids.join(',') } })
},
// 导出主播数据管理 Excel
exportNewHosts: async (params) => {