diff --git a/data/view/model/common.go b/data/view/model/common.go index ed32fbc..aff04bd 100755 --- a/data/view/model/common.go +++ b/data/view/model/common.go @@ -20,7 +20,7 @@ func getCamelName(name string) string { // return mybigcamel.Marshal(strings.TrimSuffix(name, "s")) // } - return mybigcamel.Marshal(name) + return mybigcamel.Marshal(strings.ToLower(name)) } // titleCase title case.首字母大写