fix:音色表id为String (#603)

This commit is contained in:
hrz
2025-03-31 11:02:58 +08:00
committed by GitHub
parent 94e1c09647
commit ba5bf33b5a
@@ -85,8 +85,8 @@ public class TimbreController {
@DeleteMapping("/{id}")
@Operation(summary = "音色删除")
@RequiresPermissions("sys:role:superAdmin")
public Result<Void> delete(@PathVariable Long id) {
timbreService.delete(new Long[] { id });
public Result<Void> delete(@PathVariable String id) {
timbreService.delete(new String[] { id });
return new Result<>();
}