重构项目模块路径,从cool-team-official/cool-admin-go改为blazing

This commit is contained in:
1
2025-06-20 22:03:38 +00:00
parent 69d5755acb
commit 9eda5799d5
128 changed files with 372 additions and 9658 deletions

View File

@@ -3,8 +3,9 @@ package admin
import (
"context"
"github.com/cool-team-official/cool-admin-go/cool"
"github.com/cool-team-official/cool-admin-go/modules/dict/service"
"blazing/cool"
"blazing/modules/dict/service"
"github.com/gogf/gf/v2/frame/g"
)

View File

@@ -1,8 +1,9 @@
package admin
import (
"github.com/cool-team-official/cool-admin-go/cool"
"github.com/cool-team-official/cool-admin-go/modules/dict/service"
"blazing/cool"
"blazing/modules/dict/service"
)
type DictTypeController struct {

View File

@@ -1,5 +1,5 @@
package controller
import (
_ "github.com/cool-team-official/cool-admin-go/modules/dict/controller/admin"
_ "blazing/modules/dict/controller/admin"
)

View File

@@ -1,13 +1,15 @@
package dict
import (
"github.com/cool-team-official/cool-admin-go/cool"
_ "github.com/cool-team-official/cool-admin-go/modules/dict/packed"
"blazing/cool"
_ "blazing/modules/dict/packed"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/os/gctx"
_ "github.com/cool-team-official/cool-admin-go/modules/dict/controller"
"github.com/cool-team-official/cool-admin-go/modules/dict/model"
_ "blazing/modules/dict/controller"
"blazing/modules/dict/model"
)
func init() {

View File

@@ -1,9 +1,9 @@
module github.com/cool-team-official/cool-admin-go/modules/dict
module blazing/modules/dict
go 1.18
require (
github.com/cool-team-official/cool-admin-go/cool v1.5.9
github.com/gogf/gf/v2 v2.6.3
)

View File

@@ -2,8 +2,8 @@ github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8
github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/clbanning/mxj/v2 v2.7.0 h1:WA/La7UGCanFe5NpHF0Q3DNtnCsVoxbPKuyBNHWRyME=
github.com/clbanning/mxj/v2 v2.7.0/go.mod h1:hNiWqW14h+kc+MdF9C6/YoRfjEJoR3ou6tn/Qo+ve2s=
github.com/cool-team-official/cool-admin-go/cool v1.5.9 h1:mvZkckumdnhkr8BGRbB+FKmUeP3tbxmyvSxfNyZAlhE=
github.com/cool-team-official/cool-admin-go/cool v1.5.9/go.mod h1:kle9oSJM+yl8ZtQwZFL8PWbz7ByI8Glj1431njGbWPo=
blazing/cool v1.5.9 h1:mvZkckumdnhkr8BGRbB+FKmUeP3tbxmyvSxfNyZAlhE=
blazing/cool v1.5.9/go.mod h1:kle9oSJM+yl8ZtQwZFL8PWbz7ByI8Glj1431njGbWPo=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=

View File

@@ -1,7 +1,7 @@
package model
import (
"github.com/cool-team-official/cool-admin-go/cool"
"blazing/cool"
)
const TableNameDictInfo = "dict_info"

View File

@@ -1,7 +1,7 @@
package model
import (
"github.com/cool-team-official/cool-admin-go/cool"
"blazing/cool"
)
const TableNameDictType = "dict_type"

View File

@@ -3,8 +3,10 @@ package service
import (
"context"
"github.com/cool-team-official/cool-admin-go/cool"
"github.com/cool-team-official/cool-admin-go/modules/dict/model"
"blazing/cool"
"blazing/modules/dict/model"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/util/gconv"
)

View File

@@ -1,8 +1,9 @@
package service
import (
"github.com/cool-team-official/cool-admin-go/cool"
"github.com/cool-team-official/cool-admin-go/modules/dict/model"
"blazing/cool"
"blazing/modules/dict/model"
)
type DictTypeService struct {