refactor🎨:代码生成功能迁移

This commit is contained in:
zhangwenjian committed 2021-06-25 11:33:41 +08:00
1 parent 91b93a3f48
commit 0f623521c4
10 files changed
+6 -6

No files matched your search

@@ -7,7 +7,7 @@ import (
"github.com/go-admin-team/go-admin-core/sdk/pkg"
_ "github.com/go-admin-team/go-admin-core/sdk/pkg/response"
"go-admin/app/admin/models/tools"
"go-admin/app/other/models/tools"
)
// GetDBColumnList 分页列表数据
@@ -9,7 +9,7 @@ import (
"github.com/go-admin-team/go-admin-core/sdk/pkg"
_ "github.com/go-admin-team/go-admin-core/sdk/pkg/response"
"go-admin/app/admin/models/tools"
"go-admin/app/other/models/tools"
)
// GetDBTableList 分页列表数据
@@ -15,7 +15,7 @@ import (
"github.com/go-admin-team/go-admin-core/sdk/config"
"github.com/go-admin-team/go-admin-core/sdk/pkg"
"go-admin/app/admin/models/tools"
"go-admin/app/other/models/tools"
)
type Gen struct {
@@ -10,7 +10,7 @@ import (
_ "github.com/go-admin-team/go-admin-core/sdk/pkg/response"
"gorm.io/gorm"
"go-admin/app/admin/models/tools"
"go-admin/app/other/models/tools"
)
type SysTable struct {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -4,7 +4,7 @@ import (
"github.com/gin-gonic/gin"
jwt "github.com/go-admin-team/go-admin-core/sdk/pkg/jwtauth"
"go-admin/app/admin/apis"
"go-admin/app/admin/apis/tools"
"go-admin/app/other/apis/tools"
)
func init() {
@@ -15,7 +15,7 @@ func sysNoCheckRoleRouter(v1 *gin.RouterGroup ,authMiddleware *jwt.GinJWTMiddlew
r1 := v1.Group("")
{
sys := apis.System{}
r1.GET("/getCaptcha", sys.GenerateCaptchaHandler)
r1.GET("/captcha", sys.GenerateCaptchaHandler)
}
r := v1.Group("").Use(authMiddleware.MiddlewareFunc())
File renamed without changes.