From 15a5a627d57c6bd03cc9701000e08b95029ad343 Mon Sep 17 00:00:00 2001 From: Carson Lin <396098651@qq.com> Date: Fri, 16 Sep 2022 10:55:56 +0800 Subject: [PATCH] =?UTF-8?q?opt=EF=BC=9A=E4=BF=AE=E6=94=B9=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Luban.Job.Cfg/Source/Utils/TTypeTemplateExtends.cs | 2 +- src/Luban.Server/Templates/config/cs_bin/bean.tpl | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Luban.Job.Cfg/Source/Utils/TTypeTemplateExtends.cs b/src/Luban.Job.Cfg/Source/Utils/TTypeTemplateExtends.cs index 062b6d7..87da4ef 100644 --- a/src/Luban.Job.Cfg/Source/Utils/TTypeTemplateExtends.cs +++ b/src/Luban.Job.Cfg/Source/Utils/TTypeTemplateExtends.cs @@ -320,7 +320,7 @@ namespace Luban.Job.Cfg.Utils } else { - return $"namespace {np}\r\n{{"; + return $"namespace {np}\n{{"; } } public static string CsEndNameSpaceGrace(string np) diff --git a/src/Luban.Server/Templates/config/cs_bin/bean.tpl b/src/Luban.Server/Templates/config/cs_bin/bean.tpl index 5a84a64..7ce5006 100644 --- a/src/Luban.Server/Templates/config/cs_bin/bean.tpl +++ b/src/Luban.Server/Templates/config/cs_bin/bean.tpl @@ -1,4 +1,4 @@ -using Bright.Serialization; +using Bright.Serialization; using System.Collections.Generic; {{ name = x.name @@ -8,7 +8,6 @@ using System.Collections.Generic; }} {{cs_start_name_space_grace x.namespace_with_top_module}} -//ÃüÃû¿Õ¼ä{{x.namespace_with_top_module}} {{~if x.comment != '' ~}} /// /// {{x.escape_comment}}