chore: 构建修改编码
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -39,7 +39,6 @@ namespace Yi.Framework.Bbs.Domain.Managers.ArticleImport
|
||||
if (num == 2)
|
||||
{
|
||||
startIndex = i;
|
||||
Console.WriteLine($"i={i}");
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -50,8 +49,6 @@ namespace Yi.Framework.Bbs.Domain.Managers.ArticleImport
|
||||
|
||||
linesRef.RemoveRange(0, startIndex+1);
|
||||
var result = string.Join(Environment.NewLine, linesRef);
|
||||
Console.WriteLine($"处理前内容:{x.Content}");
|
||||
Console.WriteLine($"处理后内容:{result}");
|
||||
f.Content = result;
|
||||
return f;
|
||||
});
|
||||
|
||||
@@ -2,7 +2,7 @@ using Serilog;
|
||||
using Serilog.Events;
|
||||
using Yi.Abp.Web;
|
||||
|
||||
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־,<2C><>ʹ<EFBFBD><CAB9>{SourceContext}<EFBFBD><EFBFBD>¼
|
||||
//创建日志,可使用{SourceContext}记录
|
||||
Log.Logger = new LoggerConfiguration()
|
||||
.MinimumLevel.Debug()
|
||||
.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
|
||||
@@ -15,7 +15,7 @@ Log.Logger = new LoggerConfiguration()
|
||||
|
||||
try
|
||||
{
|
||||
Log.Information("Yi<EFBFBD><EFBFBD><EFBFBD><EFBFBD>-Abp.vNext<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
||||
Log.Information("Yi框架-Abp.vNext,启动!");
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
builder.WebHost.UseUrls(builder.Configuration["App:SelfUrl"]);
|
||||
@@ -28,7 +28,7 @@ try
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.Fatal(ex, "Yi<EFBFBD><EFBFBD><EFBFBD><EFBFBD>-Abp.vNext<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ը<EFBFBD><EFBFBD>");
|
||||
Log.Fatal(ex, "Yi框架-Abp.vNext,爆炸!");
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user