mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-22 23:23:55 +08:00
fix:音色表id为String (#603)
This commit is contained in:
+2
-2
@@ -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<>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user