mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-26 04:39:53 +01:00
fix:音色表id为String (#603)
This commit is contained in:
parent
94e1c09647
commit
ba5bf33b5a
1 changed files with 2 additions and 2 deletions
|
|
@ -85,8 +85,8 @@ public class TimbreController {
|
||||||
@DeleteMapping("/{id}")
|
@DeleteMapping("/{id}")
|
||||||
@Operation(summary = "音色删除")
|
@Operation(summary = "音色删除")
|
||||||
@RequiresPermissions("sys:role:superAdmin")
|
@RequiresPermissions("sys:role:superAdmin")
|
||||||
public Result<Void> delete(@PathVariable Long id) {
|
public Result<Void> delete(@PathVariable String id) {
|
||||||
timbreService.delete(new Long[] { id });
|
timbreService.delete(new String[] { id });
|
||||||
return new Result<>();
|
return new Result<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue