This commit is contained in:
cjd
2025-11-04 21:09:16 +08:00
parent 8260e293c7
commit bb90a020dc
592 changed files with 61749 additions and 27 deletions

View File

@@ -0,0 +1,13 @@
using DouyinApi.Model.Base;
using SqlSugar;
namespace DouyinApi.Model.Logs;
[Tenant("log")]
[SplitTable(SplitType.Month)] //按月分表 (自带分表支持 年、季、月、周、日)
[SugarTable($@"{nameof(GlobalErrorLog)}_{{year}}{{month}}{{day}}")]
public class GlobalErrorLog : BaseLog
{
[SugarColumn(IsNullable = true, ColumnDataType = "longtext,text,clob")]
public string Exception { get; set; }
}