init project

This commit is contained in:
2025-04-09 12:17:33 +08:00
parent 6840d5d5e3
commit f6622a4e98
392 changed files with 55744 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
package example
import (
"github.com/gin-gonic/gin"
)
type AttachmentCategoryRouter struct{}
func (r *AttachmentCategoryRouter) InitAttachmentCategoryRouterRouter(Router *gin.RouterGroup) {
router := Router.Group("attachmentCategory")
{
router.GET("getCategoryList", attachmentCategoryApi.GetCategoryList) // 分类列表
router.POST("addCategory", attachmentCategoryApi.AddCategory) // 添加/编辑分类
router.POST("deleteCategory", attachmentCategoryApi.DeleteCategory) // 删除分类
}
}