Initial commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:57:10 +08:00
co-authored by Claude Opus 5
commit 8679200f41
1897 changed files with 257900 additions and 0 deletions
@@ -0,0 +1,17 @@
package router
import (
"github.com/gin-gonic/gin"
"{{ModuleName}}/web/api/{{PackageTableName}}ctrl"
)
// {{RouterName}}Router {{TableComment}}管理 todo: 在 web/router/base.go 中新增路由
func {{RouterName}}Router(router *gin.RouterGroup) {
group := router.Group("/{{PackageTableName}}")
{
group.GET("/list", {{PackageTableName}}ctrl.List)
group.POST("/create", {{PackageTableName}}ctrl.Create)
group.POST("/update", {{PackageTableName}}ctrl.Update)
group.POST("/delete", {{PackageTableName}}ctrl.Delete)
}
}