Skip to content

Commit

Permalink
Merge pull request #100 from suyuan32/dev
Browse files Browse the repository at this point in the history
fix: optimize api tpl
  • Loading branch information
suyuan32 authored Jun 2, 2024
2 parents d962622 + 76a1eb4 commit 1c0d452
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 1c0d452

Please sign in to comment.