增强了实例工程的抽象逻辑

This commit is contained in:
fengjiayi
2024-10-07 15:15:18 +08:00
parent 7a9f7b7bf3
commit 878b1c5893
39 changed files with 1361 additions and 826 deletions

View File

@@ -0,0 +1,19 @@
using System;
namespace Serein.Library.Web
{
public class ControllerBase
{
// [AutoInjection]
// public ILoggerService loggerService { get; set; }
public string Url { get; set; }
public string BobyData { get; set; }
public string GetLog(Exception ex)
{
return "Url : " + Url + Environment.NewLine +
"Ex : " + ex + Environment.NewLine +
"Data : " + BobyData + Environment.NewLine;
}
}
}