From 6d2b68a202a691a9c5d2d93dcf9e0ad45a7337e1 Mon Sep 17 00:00:00 2001 From: ayflying Date: Wed, 26 Feb 2025 18:14:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=8D=E5=8A=A1=E7=94=9F?= =?UTF-8?q?=E6=88=90=E9=80=A0=E6=88=90=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/make.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/make.go b/cmd/make.go index 4175bac..61a1c39 100644 --- a/cmd/make.go +++ b/cmd/make.go @@ -91,7 +91,7 @@ func (c *cMake) Logic(name string) (err error) { //生成文件不覆盖 if !gfile.Exists(filePath) { //fileStr := gfile.GetContents("./make/logic") - get, _ := fs.ReadFile(ConfigFiles, "make/act") + get, _ := fs.ReadFile(ConfigFiles, "make/logic") fileStr := string(get) fileStr = gstr.Replace(fileStr, "{package}", name) fileStr = gstr.Replace(fileStr, "{name}", gstr.CaseCamel(name))