改变路由层级,模块化

This commit is contained in:
2023-01-18 15:40:27 +08:00
parent bd25f041a2
commit 0f8c1f989b
102 changed files with 335 additions and 322 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
package cache
import (
"cutego/core/dao"
"cutego/modules/core/dao"
"cutego/pkg/common"
"cutego/pkg/constant"
)
+2 -2
View File
@@ -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"
)
+2 -2
View File
@@ -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 -1
View File
@@ -1,7 +1,7 @@
package tree_dept
import (
"cutego/core/entity"
"cutego/modules/core/entity"
"sort"
)
+1 -1
View File
@@ -1,7 +1,7 @@
package tree_menu
import (
"cutego/core/entity"
"cutego/modules/core/entity"
"github.com/druidcaesa/gotool"
"sort"
)
+3 -3
View File
@@ -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"