This commit is contained in:
孟帅
2024-04-22 23:08:40 +08:00
parent 82483bd7b9
commit e144b12580
445 changed files with 17457 additions and 6708 deletions

View File

@@ -11,6 +11,7 @@ import (
"github.com/gogf/gf/v2/frame/g"
"@{.importInput}"
"hotgo/internal/model/input/form"
@{ if eq .options.Step.IsTreeTable true }"hotgo/utility/tree"@{end}
)
// ListReq 查询@{.tableComment}列表
@@ -90,3 +91,11 @@ type SwitchReq struct {
type SwitchRes struct{}
@{end}
@{ if eq .options.Step.IsTreeTable true }
// TreeOptionReq 获取@{.tableComment}关系树选项
type TreeOptionReq struct {
g.Meta `path:"/@{.varName | LcFirst}/treeOption" method:"get" tags:"@{.tableComment}" summary:"获取@{.tableComment}关系树选项"`
}
type TreeOptionRes []tree.Node
@{end}