|
@@ -5,7 +5,6 @@ import (
|
|
|
"github.com/bwmarrin/snowflake"
|
|
|
. "jy/src/jfw/config"
|
|
|
"jy/src/jfw/jyutil"
|
|
|
- "jy/src/jfw/modules/app/src/jfw/config"
|
|
|
"net/http"
|
|
|
"regexp"
|
|
|
"time"
|
|
@@ -29,7 +28,7 @@ var (
|
|
|
func init() {
|
|
|
xweb.AddFilter(&Filter{})
|
|
|
go initPrivatePublicKey()
|
|
|
- Node, _ = snowflake.NewNode(util.Int64All(config.Seoconfig["node"]))
|
|
|
+ Node, _ = snowflake.NewNode(util.Int64All(Seoconfig["node"]))
|
|
|
//日志过滤 路由集合
|
|
|
go fs.FSNotifyFUNC("sword->%s", "./route.json", true, func() {
|
|
|
util.ReadConfig("./route.json", &RouteConf)
|