mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
根因:AgentController 已存在 GET /agent/template/templateList,AgentTemplateController 缺显式 GET,于是路由虽通却跨 controller 暴露模板数据,且职责错位。修复:删 AgentController.templateList,同名 @GetMapping(无 path)落到 AgentTemplateController,权限 normal、orderByAsc sort、复用现有 service.list。验证:spring-boot 启动期无 Ambiguous;/agent/template、/page、/{id} 三路由均被 Shiro 一致拦截,权限/路径正确。
|
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||
| README.md | ||
本文档是开发类文档,如需部署小智服务端,点击这里查看部署教程
项目介绍
manager-api 该项目基于SpringBoot框架开发。
开发使用代码编辑器,导入项目时,选择manager-api文件夹作为项目目录
开发环境
JDK 21 Maven 3.8+ MySQL 8.0+ Redis 5.0+ Vue 3.x