mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-07 04:21:25 +08:00
【更新】更新结构
This commit is contained in:
@@ -7,9 +7,9 @@ package api
|
||||
import (
|
||||
"pandax/apps/{{.PackageName}}/entity"
|
||||
"pandax/apps/{{.PackageName}}/services"
|
||||
"pandax/base/ginx"
|
||||
"pandax/base/ginx"
|
||||
"pandax/base/utils"
|
||||
"github.com/XM-GO/PandaKit/ginx"
|
||||
"github.com/XM-GO/PandaKit/ginx"
|
||||
"github.com/XM-GO/PandaKit/utils"
|
||||
)
|
||||
|
||||
type {{.ClassName}}Api struct {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"pandax/apps/{{.PackageName}}/api"
|
||||
"pandax/apps/{{.PackageName}}/services"
|
||||
"pandax/base/ginx"
|
||||
"github.com/XM-GO/PandaKit/ginx"
|
||||
)
|
||||
|
||||
func Init{{.ClassName}}Router(router *gin.RouterGroup) {
|
||||
|
||||
@@ -8,8 +8,8 @@ package services
|
||||
|
||||
import (
|
||||
"pandax/apps/{{.PackageName}}/entity"
|
||||
"pandax/base/biz"
|
||||
"pandax/base/global"
|
||||
"github.com/XM-GO/PandaKit/biz"
|
||||
"github.com/XM-GO/PandaKit/global"
|
||||
)
|
||||
|
||||
type (
|
||||
|
||||
Reference in New Issue
Block a user