From 11d9a6a6fab4e01cd0de7a3bfe3e8e504e231e04 Mon Sep 17 00:00:00 2001 From: xxjwxc Date: Wed, 11 May 2022 23:19:25 +0800 Subject: [PATCH] fix 211 --- data/view/model/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.首字母大写