1.添加主播信息批量修改接口
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user