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}}