refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,17 @@
package routers
import (
"bsm/full/module/base/fts/internal/logic"
"git.apinb.com/bsm-sdk/core/middleware"
"github.com/gin-gonic/gin"
)
// registerUploader
func registerUploader(v1_key string, engine *gin.Engine) {
auth := engine.Group(v1_key)
{
auth.Use(middleware.JwtAuth(true))
auth.POST("/uploader", logic.Handler)
}
}