jiangshuai
2023-12-19 f6bf0ee81b080a2bad55aa5bf261c68ab3d555f8
core/server.go
@@ -4,10 +4,9 @@
   "fmt"
   "time"
   "github.com/flipped-aurora/gin-vue-admin/server/global"
   "github.com/flipped-aurora/gin-vue-admin/server/initialize"
   "github.com/flipped-aurora/gin-vue-admin/server/service/system"
   "go.uber.org/zap"
   "srm/global"
   "srm/initialize"
)
type server interface {
@@ -15,16 +14,6 @@
}
func RunWindowsServer() {
   if global.GVA_CONFIG.System.UseMultipoint || global.GVA_CONFIG.System.UseRedis {
      // 初始化redis服务
      initialize.Redis()
   }
   // 从db加载jwt数据
   if global.GVA_DB != nil {
      system.LoadAll()
   }
   Router := initialize.Routers()
   Router.Static("/form-generator", "./resource/page")