1.添加主播信息批量修改接口

This commit is contained in:
2025-10-15 21:06:22 +08:00
parent 8b5b7719f1
commit 6b3aa1203c

View File

@@ -44,4 +44,11 @@ public class HostInfoController {
return ResultUtils.success(b);
}
@PostMapping("/updates")
public BaseResponse<Boolean> updates(@RequestBody List<NewHosts> newHosts){
boolean b = hostInfoService.updateBatchById(newHosts);
return ResultUtils.success(b);
}
}