docs📝: 修改接口文档
This commit is contained in:
1 parent
0607d462d0
commit
3fd34db3c1
16 files changed
+541
-289
No files matched your search
@@ -54,7 +54,7 @@ func (s *{{.ClassName}}Control) Generate(model *models.SysConfig) {
|
||||
{{$x := .Pk}}
|
||||
{{- if ($x) }}
|
||||
if s.{{.GoField}} == 0 {
|
||||
model.Model = common.Model{{{.GoField}}: s.{{.GoField}}}
|
||||
model.Model = common.Model{ {{.GoField}}: s.{{.GoField}} }
|
||||
}
|
||||
{{- else if eq .GoField "CreatedAt" -}}
|
||||
{{- else if eq .GoField "UpdatedAt" -}}
|
||||
|
||||
Reference in new issue
Block a user