gin路由分组 路由文件抽离

gin自定义控制器 实现控制器的继承
This commit is contained in:
2025-12-03 22:19:24 +08:00
parent 4a8e355b73
commit 8155bd710b
11 changed files with 160 additions and 128 deletions

View File

@@ -60,7 +60,6 @@
{{/* 自定义模板函数使用示例 */}}
{{.data}} <!-- 输出原始时间戳 -->
{{UnixToTime .data}} <!-- 使用自定义函数将时间戳转换为格式化日期 -->
{{ template "layout/footer"}}