改变路由层级,模块化
This commit is contained in:
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
package cache
|
||||
|
||||
import (
|
||||
"cutego/core/dao"
|
||||
"cutego/modules/core/dao"
|
||||
"cutego/pkg/common"
|
||||
"cutego/pkg/constant"
|
||||
)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package cronjob
|
||||
|
||||
import (
|
||||
"cutego/core/job"
|
||||
"cutego/core/service"
|
||||
"cutego/modules/core/job"
|
||||
"cutego/modules/core/service"
|
||||
"cutego/pkg/common"
|
||||
"github.com/robfig/cron"
|
||||
)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package jwt
|
||||
|
||||
import (
|
||||
"cutego/core/api/v1/response"
|
||||
"cutego/core/dao"
|
||||
"cutego/modules/core/api/v1/response"
|
||||
"cutego/modules/core/dao"
|
||||
"cutego/pkg/cache"
|
||||
"cutego/pkg/config"
|
||||
"errors"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package tree_dept
|
||||
|
||||
import (
|
||||
"cutego/core/entity"
|
||||
"cutego/modules/core/entity"
|
||||
"sort"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package tree_menu
|
||||
|
||||
import (
|
||||
"cutego/core/entity"
|
||||
"cutego/modules/core/entity"
|
||||
"github.com/druidcaesa/gotool"
|
||||
"sort"
|
||||
)
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package util
|
||||
|
||||
import (
|
||||
"cutego/core/api/v1/response"
|
||||
"cutego/core/dao"
|
||||
"cutego/core/entity"
|
||||
"cutego/modules/core/api/v1/response"
|
||||
"cutego/modules/core/dao"
|
||||
"cutego/modules/core/entity"
|
||||
"cutego/pkg/common"
|
||||
"cutego/pkg/config"
|
||||
"cutego/pkg/jwt"
|
||||
|
||||
Reference in New Issue
Block a user