新增快手平台和对应的接口

This commit is contained in:
2026-06-01 14:08:17 +08:00
parent 15db71b7ba
commit 812693caae
14 changed files with 1529 additions and 185 deletions

View File

@@ -1,6 +1,7 @@
package main
import (
"dataengine/controller/debug"
"dataengine/controller/dict"
syncCtrl "dataengine/controller/sync"
syncSvc "dataengine/service/sync"
@@ -10,6 +11,7 @@ import (
_ "gitea.com/red-future/common/k3sconfig"
_ "github.com/gogf/gf/contrib/drivers/pgsql/v2"
_ "github.com/gogf/gf/contrib/nosql/redis/v2"
"github.com/gogf/gf/v2/frame/g"
"golang.org/x/net/context"
)
@@ -27,5 +29,9 @@ func main() {
// 平台同步引擎
syncCtrl.PlatformSyncController,
})
// 管理后台页面
g.Server().BindHandler("/admin", debug.DebugController.DebugPage)
select {}
}