mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-12 12:13:51 +08:00
fix generate HasView
This commit is contained in:
@@ -33,7 +33,7 @@ type ExportReq struct {
|
||||
|
||||
type ExportRes struct{}
|
||||
@{end}
|
||||
@{ if eq .options.Step.HasView true }
|
||||
@{ if or (eq .options.Step.HasView true) (eq .options.Step.HasEdit true) }
|
||||
// ViewReq 获取@{.tableComment}指定信息
|
||||
type ViewReq struct {
|
||||
g.Meta `path:"/@{.varName | LcFirst}/view" method:"get" tags:"@{.tableComment}" summary:"获取@{.tableComment}指定信息"`
|
||||
|
||||
Reference in New Issue
Block a user