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
dist/
appsettings.Production.json
appsettings.Development.json
# User-specific files
*.rsuser
*.suo

View File

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

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@@ -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