优化工作-1

This commit is contained in:
yml2213
2026-06-05 07:41:52 +08:00
parent b7ec5e2755
commit 0b9b0b5ea7
17 changed files with 1807 additions and 127 deletions
+19
View File
@@ -17,6 +17,25 @@ import (
"go.uber.org/zap"
)
// @title HFB Sys API
// @version 1.0
// @description 哈夫币租号平台 API 文档
// @termsOfService http://swagger.io/terms/
// @contact.name API Support
// @contact.email support@hfb.com
// @license.name MIT
// @license.url https://opensource.org/licenses/MIT
// @host localhost:8080
// @BasePath /api
// @securityDefinitions.apikey BearerAuth
// @in header
// @name Authorization
// @description Type "Bearer" followed by a space and JWT token.
func main() {
cfg := config.Load()
logger, err := logging.New(cfg.Log)