zuohuaijun 2 лет назад
Родитель
Сommit
f81541b616

+ 2 - 2
Admin.NET/Admin.NET.Core/Logging/LoggingSetup.cs

@@ -21,8 +21,8 @@ public static class LoggingSetup
         //services.AddConsoleFormatter(options =>
         //{
         //    options.DateFormat = "yyyy-MM-dd HH:mm:ss(zzz) dddd";
-        //    //options.WithTraceId = true;
-        //    //options.WithStackFrame = true;
+        //    //options.WithTraceId = true; // 显示线程Id
+        //    //options.WithStackFrame = true; // 显示程序集
         //});
 
         // 日志监听

+ 4 - 5
Admin.NET/Admin.NET.Web.Entry/wwwroot/Template/Input.cs.vm

@@ -24,11 +24,10 @@ if (@column.ColumnKey != "True"){
     /// </summary>
     public class @(@Model.ClassName)Input : BasePageInput
     {
-        @:/// <summary>
-        @:/// 关键字查询
-        @:/// </summary>
-        @:public string SearchKey { get; set; }
-        @:
+        /// <summary>
+        /// 关键字查询
+        /// </summary>
+        public string SearchKey { get; set; }
 
 @foreach (var column in Model.TableField){
 if (@column.QueryWhether == "Y"){