【更新】更新结构

This commit is contained in:
PandaGoAdmin
2022-08-02 17:46:19 +08:00
parent 0555922a90
commit 915e20b044
150 changed files with 200 additions and 4884 deletions

View File

@@ -1,9 +1,9 @@
package api
import (
"github.com/XM-GO/PandaKit/ginx"
"pandax/apps/develop/gen"
"pandax/apps/develop/services"
"pandax/base/ginx"
)
type GenApi struct {

View File

@@ -1,11 +1,11 @@
package api
import (
"github.com/XM-GO/PandaKit/ginx"
"github.com/XM-GO/PandaKit/utils"
"pandax/apps/develop/entity"
"pandax/apps/develop/gen"
"pandax/apps/develop/services"
"pandax/base/ginx"
"pandax/base/utils"
"strings"
"sync"
)

View File

@@ -1,6 +1,6 @@
package entity
import "pandax/base/model"
import "github.com/XM-GO/PandaKit/model"
type DevGenTable struct {
TableId int64 `gorm:"primaryKey;autoIncrement" json:"tableId"` // 编号

View File

@@ -3,6 +3,8 @@ package gen
import (
"bytes"
"fmt"
"github.com/XM-GO/PandaKit/biz"
"github.com/XM-GO/PandaKit/utils"
"github.com/kakuilan/kgo"
"log"
"os"
@@ -10,8 +12,6 @@ import (
"pandax/apps/develop/services"
sysEntity "pandax/apps/system/entity"
sysServices "pandax/apps/system/services"
"pandax/base/biz"
"pandax/base/utils"
"pandax/pkg/global"
"strconv"
"strings"

View File

@@ -1,10 +1,10 @@
package router
import (
"github.com/XM-GO/PandaKit/ginx"
"github.com/gin-gonic/gin"
"pandax/apps/develop/api"
"pandax/apps/develop/services"
"pandax/base/ginx"
)
func InitGenRouter(router *gin.RouterGroup) {

View File

@@ -1,10 +1,10 @@
package router
import (
"github.com/XM-GO/PandaKit/ginx"
"github.com/gin-gonic/gin"
"pandax/apps/develop/api"
"pandax/apps/develop/services"
"pandax/base/ginx"
)
func InitGenTableRouter(router *gin.RouterGroup) {

View File

@@ -2,9 +2,9 @@ package services
import (
"errors"
"github.com/XM-GO/PandaKit/biz"
"github.com/XM-GO/PandaKit/utils"
"pandax/apps/develop/entity"
"pandax/base/biz"
"pandax/base/utils"
"pandax/pkg/global"
)

View File

@@ -2,8 +2,8 @@ package services
import (
"errors"
"github.com/XM-GO/PandaKit/biz"
"pandax/apps/develop/entity"
"pandax/base/biz"
"pandax/pkg/global"
)