refactor: 1.修正api auth 2.帖子话题业务

This commit is contained in:
Blizzard
2026-02-07 15:52:54 +08:00
parent e4de80eecc
commit 9adad90490
17 changed files with 314 additions and 35 deletions
+2
View File
@@ -4,11 +4,13 @@ import v1 "sundynix-go/api/v1"
type RouterGroup struct {
MyPlantRouter
TopicRouter
PostRouter
}
// 初始化路由
var (
myPlantApi = v1.ApiGroupApp.PlantApiGroup.MyPlantApi
topicApi = v1.ApiGroupApp.PlantApiGroup.TopicApi
postApi = v1.ApiGroupApp.PlantApiGroup.PostApi
)