mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-13 12:43:45 +08:00
发布v2.15.1版本,更新内容请查看:https://github.com/bufanyun/hotgo/blob/v2.0/docs/guide-zh-CN/start-update-log.md
This commit is contained in:
@@ -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}
|
||||
Reference in New Issue
Block a user