diff --git a/.gitignore b/.gitignore index 455bfaf3..a8b21253 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,9 @@ ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore dist/ +appsettings.Production.json +appsettings.Development.json + # User-specific files *.rsuser *.suo diff --git a/Yi.Framework.Net6/src/module/Yi.Framework.OperLogManager/OperationLogEntity.cs b/Yi.Framework.Net6/src/module/Yi.Framework.OperLogManager/OperationLogEntity.cs index 4ae76ca9..7abf9962 100644 --- a/Yi.Framework.Net6/src/module/Yi.Framework.OperLogManager/OperationLogEntity.cs +++ b/Yi.Framework.Net6/src/module/Yi.Framework.OperLogManager/OperationLogEntity.cs @@ -59,7 +59,7 @@ namespace Yi.Framework.OperLogManager /// /// 请求结果 /// - [SugarColumn(ColumnName = "RequestResult")] + [SugarColumn(ColumnName = "RequestResult",Length =9999)] public string? RequestResult { get; set; } public DateTime CreationTime { get; set; } diff --git a/Yi.Framework.Net6/src/project/BBS/Yi.BBS.Web/appsettings.json b/Yi.Framework.Net6/src/project/BBS/Yi.BBS.Web/appsettings.json index af693d93..2788576d 100644 --- a/Yi.Framework.Net6/src/project/BBS/Yi.BBS.Web/appsettings.json +++ b/Yi.Framework.Net6/src/project/BBS/Yi.BBS.Web/appsettings.json @@ -14,12 +14,11 @@ "DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ], "DbConnOptions": { - //"Url": "DataSource=yi-sqlsugar-dev.db", - "Url": "server=106.52.94.217;port=3306;database=yi-bbs-dev;user id=root;password=Qz52013142020.", - "DbType": "Mysql", - "EnabledDbSeed": true, + "Url": "DataSource=yi-sqlsugar-dev.db", + "DbType": "Sqlite", + "EnabledDbSeed": false, "EnabledReadWrite": false, - "EnabledCodeFirst": true, + "EnabledCodeFirst": false, "EntityAssembly": null, "ReadUrl": [ "DataSource=[xxxx]", //Sqlite diff --git a/Yi.Framework.Net6/src/project/BBS/Yi.BBS.Web/wwwroot/File/1641069751465807872 b/Yi.Framework.Net6/src/project/BBS/Yi.BBS.Web/wwwroot/File/1641069751465807872 new file mode 100644 index 00000000..07a48de3 Binary files /dev/null and b/Yi.Framework.Net6/src/project/BBS/Yi.BBS.Web/wwwroot/File/1641069751465807872 differ diff --git a/Yi.Framework.Net6/src/project/bbs/Yi.BBS.Web/appsettings.json b/Yi.Framework.Net6/src/project/bbs/Yi.BBS.Web/appsettings.json index af693d93..2788576d 100644 --- a/Yi.Framework.Net6/src/project/bbs/Yi.BBS.Web/appsettings.json +++ b/Yi.Framework.Net6/src/project/bbs/Yi.BBS.Web/appsettings.json @@ -14,12 +14,11 @@ "DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ], "DbConnOptions": { - //"Url": "DataSource=yi-sqlsugar-dev.db", - "Url": "server=106.52.94.217;port=3306;database=yi-bbs-dev;user id=root;password=Qz52013142020.", - "DbType": "Mysql", - "EnabledDbSeed": true, + "Url": "DataSource=yi-sqlsugar-dev.db", + "DbType": "Sqlite", + "EnabledDbSeed": false, "EnabledReadWrite": false, - "EnabledCodeFirst": true, + "EnabledCodeFirst": false, "EntityAssembly": null, "ReadUrl": [ "DataSource=[xxxx]", //Sqlite