diff --git a/Bootstrap.Admin/appsettings.json b/Bootstrap.Admin/appsettings.json index fd483774..f7b986ad 100644 --- a/Bootstrap.Admin/appsettings.json +++ b/Bootstrap.Admin/appsettings.json @@ -18,7 +18,7 @@ "MongoDB": "BootstrapAdmin", "DB": [ { - "Enabled": true + "Enabled": false }, { "Enabled": true, @@ -51,8 +51,8 @@ ], "IPSvrUrl": "http://api.map.baidu.com/location/ip?ak=6lvVPMDlm2gjLpU0aiqPsHXi2OiwGQRj&ip=", "SwaggerPathBase": "/BA", - "AllowOrigins": "http://localhost,http://10.15.63.218", - "KeyPath": "..\\keys", + "AllowOrigins": "http://localhost,http://argo.zylweb.cn", + "KeyPath": "..\\..\\keys", "ApplicationName": "__bd__", "ApplicationDiscriminator": "BootstrapAdmin", "DisableAutomaticKeyGeneration": false, @@ -68,15 +68,15 @@ { "Enabled": true, "Key": "ba", - "Url": "http://x/BA/CacheList.axd", + "Url": "http://argo.zylweb.cn/BA/CacheList.axd", "Desc": "后台管理数据缓存接口", "Self": true }, { "Enabled": true, - "Key": "Pallet", - "Url": "http://x/WebConsole/CacheList.axd", - "Desc": "托盘组垛系统", + "Key": "App", + "Url": "http://argo.zylweb.cn/CacheList.axd", + "Desc": "测试系统", "Self": false } ], diff --git a/Bootstrap.Client.DataAccess/Bootstrap.Client.DataAccess.csproj b/Bootstrap.Client.DataAccess/Bootstrap.Client.DataAccess.csproj index db0c8adf..d0b29344 100644 --- a/Bootstrap.Client.DataAccess/Bootstrap.Client.DataAccess.csproj +++ b/Bootstrap.Client.DataAccess/Bootstrap.Client.DataAccess.csproj @@ -15,6 +15,7 @@ + diff --git a/Bootstrap.Client/appsettings.Development.json b/Bootstrap.Client/appsettings.Development.json index 0e52513f..e56d01c8 100644 --- a/Bootstrap.Client/appsettings.Development.json +++ b/Bootstrap.Client/appsettings.Development.json @@ -18,7 +18,18 @@ "ConnectionStrings": { "ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa" }, + "DB": [ + { + "Enabled": false + }, + { + "Enabled": true, + "ProviderName": "Sqlite", + "ConnectionStrings": { + "ba": "Data Source=..\\Bootstrap.Admin\\BootstrapAdmin.db;" + } + } + ], "AuthHost": "http://localhost:50852", - "AllowOrigins": "http://localhost:50852", - "KeyPath": "..\\keys" + "AllowOrigins": "http://localhost:50852" } diff --git a/Bootstrap.Client/appsettings.json b/Bootstrap.Client/appsettings.json index 17b473d5..96e4defc 100644 --- a/Bootstrap.Client/appsettings.json +++ b/Bootstrap.Client/appsettings.json @@ -16,24 +16,27 @@ "sql": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa", "ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa" }, + "DB": [ + { + "Enabled": false + }, + { + "Enabled": true, + "ProviderName": "Sqlite", + "ConnectionStrings": { + "ba": "Data Source=BA\\BootstrapAdmin.db;" + } + } + ], "AppId": 2, - "AuthHost": "http://localhost:50852", - "AllowOrigins": "http://localhost,http://10.15.63.218", - "KeyPath": "D:\\App\\Web-App\\keys", + "AuthHost": "http://argo.zylweb.cn/BA", + "AllowOrigins": "http://localhost,http://argo.zylweb.cn", + "KeyPath": "..\\keys", "ApplicationName": "__bd__", "ApplicationDiscriminator": "BootstrapAdmin", "DisableAutomaticKeyGeneration": true, "LongbowCache": { "Enabled": true, - "CorsItems": [ - { - "Enabled": true, - "Name": "AppName", - "Url": "CacheList.axd", - "Desc": "自定义系统", - "Self": true - } - ], "CacheItems": [ { "Enabled": true, diff --git a/Bootstrap.DataAccess/Bootstrap.DataAccess.csproj b/Bootstrap.DataAccess/Bootstrap.DataAccess.csproj index d8ef91fb..17419609 100644 --- a/Bootstrap.DataAccess/Bootstrap.DataAccess.csproj +++ b/Bootstrap.DataAccess/Bootstrap.DataAccess.csproj @@ -17,6 +17,7 @@ +