Skip to content

Commit

Permalink
fix: optimize api tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
suyuan32 committed Jun 2, 2024
1 parent 3aaa050 commit 76a1eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/gogen/ent/api.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "../base.api"

type (
// The response data of {{.modelNameSpace}} information | {{.modelName}}信息
// The data of {{.modelNameSpace}} information | {{.modelName}}信息
{{.modelName}}Info {
{{if .HasCreated}}Base{{if .useUUID}}UU{{end}}ID{{.IdType}}Info{{else}}Id *{{.IdTypeLower}} `json:"id,optional"`{{end}}{{.infoData}}
}
Expand Down

0 comments on commit 76a1eb4

Please sign in to comment.