feat:添加配置

This commit is contained in:
橙子
2023-03-29 22:03:18 +08:00
parent 3d94626ff1
commit 69ca6677e9
5 changed files with 12 additions and 11 deletions

3
.gitignore vendored
View File

@@ -4,6 +4,9 @@
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
dist/ dist/
appsettings.Production.json
appsettings.Development.json
# User-specific files # User-specific files
*.rsuser *.rsuser
*.suo *.suo

View File

@@ -59,7 +59,7 @@ namespace Yi.Framework.OperLogManager
/// <summary> /// <summary>
/// 请求结果 /// 请求结果
///</summary> ///</summary>
[SugarColumn(ColumnName = "RequestResult")] [SugarColumn(ColumnName = "RequestResult",Length =9999)]
public string? RequestResult { get; set; } public string? RequestResult { get; set; }
public DateTime CreationTime { get; set; } public DateTime CreationTime { get; set; }

View File

@@ -14,12 +14,11 @@
"DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ], "DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ],
"DbConnOptions": { "DbConnOptions": {
//"Url": "DataSource=yi-sqlsugar-dev.db", "Url": "DataSource=yi-sqlsugar-dev.db",
"Url": "server=106.52.94.217;port=3306;database=yi-bbs-dev;user id=root;password=Qz52013142020.", "DbType": "Sqlite",
"DbType": "Mysql", "EnabledDbSeed": false,
"EnabledDbSeed": true,
"EnabledReadWrite": false, "EnabledReadWrite": false,
"EnabledCodeFirst": true, "EnabledCodeFirst": false,
"EntityAssembly": null, "EntityAssembly": null,
"ReadUrl": [ "ReadUrl": [
"DataSource=[xxxx]", //Sqlite "DataSource=[xxxx]", //Sqlite

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@@ -14,12 +14,11 @@
"DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ], "DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ],
"DbConnOptions": { "DbConnOptions": {
//"Url": "DataSource=yi-sqlsugar-dev.db", "Url": "DataSource=yi-sqlsugar-dev.db",
"Url": "server=106.52.94.217;port=3306;database=yi-bbs-dev;user id=root;password=Qz52013142020.", "DbType": "Sqlite",
"DbType": "Mysql", "EnabledDbSeed": false,
"EnabledDbSeed": true,
"EnabledReadWrite": false, "EnabledReadWrite": false,
"EnabledCodeFirst": true, "EnabledCodeFirst": false,
"EntityAssembly": null, "EntityAssembly": null,
"ReadUrl": [ "ReadUrl": [
"DataSource=[xxxx]", //Sqlite "DataSource=[xxxx]", //Sqlite