mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-10-04 00:16:25 +08:00
modify the returned id type
This commit is contained in:
@@ -687,6 +687,7 @@ func getHandlerStructCodes(data tmplData) (string, error) {
|
||||
field.GoType = "[]*model." + strings.ReplaceAll(field.GoType, "[]*", "")
|
||||
}
|
||||
}
|
||||
field.JSONName = customToCamel(field.ColName)
|
||||
newFields = append(newFields, field)
|
||||
}
|
||||
data.Fields = newFields
|
||||
|
Reference in New Issue
Block a user