重构代码:默认dev分支更改数据库类型为SQLite closed #ITB1C
#Issue https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues/ITB1C
This commit is contained in:
parent
cc10f57504
commit
357f24452e
|
@ -18,7 +18,7 @@
|
||||||
"MongoDB": "BootstrapAdmin",
|
"MongoDB": "BootstrapAdmin",
|
||||||
"DB": [
|
"DB": [
|
||||||
{
|
{
|
||||||
"Enabled": true
|
"Enabled": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Enabled": true,
|
"Enabled": true,
|
||||||
|
@ -51,8 +51,8 @@
|
||||||
],
|
],
|
||||||
"IPSvrUrl": "http://api.map.baidu.com/location/ip?ak=6lvVPMDlm2gjLpU0aiqPsHXi2OiwGQRj&ip=",
|
"IPSvrUrl": "http://api.map.baidu.com/location/ip?ak=6lvVPMDlm2gjLpU0aiqPsHXi2OiwGQRj&ip=",
|
||||||
"SwaggerPathBase": "/BA",
|
"SwaggerPathBase": "/BA",
|
||||||
"AllowOrigins": "http://localhost,http://10.15.63.218",
|
"AllowOrigins": "http://localhost,http://argo.zylweb.cn",
|
||||||
"KeyPath": "..\\keys",
|
"KeyPath": "..\\..\\keys",
|
||||||
"ApplicationName": "__bd__",
|
"ApplicationName": "__bd__",
|
||||||
"ApplicationDiscriminator": "BootstrapAdmin",
|
"ApplicationDiscriminator": "BootstrapAdmin",
|
||||||
"DisableAutomaticKeyGeneration": false,
|
"DisableAutomaticKeyGeneration": false,
|
||||||
|
@ -68,15 +68,15 @@
|
||||||
{
|
{
|
||||||
"Enabled": true,
|
"Enabled": true,
|
||||||
"Key": "ba",
|
"Key": "ba",
|
||||||
"Url": "http://x/BA/CacheList.axd",
|
"Url": "http://argo.zylweb.cn/BA/CacheList.axd",
|
||||||
"Desc": "后台管理数据缓存接口",
|
"Desc": "后台管理数据缓存接口",
|
||||||
"Self": true
|
"Self": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Enabled": true,
|
"Enabled": true,
|
||||||
"Key": "Pallet",
|
"Key": "App",
|
||||||
"Url": "http://x/WebConsole/CacheList.axd",
|
"Url": "http://argo.zylweb.cn/CacheList.axd",
|
||||||
"Desc": "托盘组垛系统",
|
"Desc": "测试系统",
|
||||||
"Self": false
|
"Self": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
<PackageReference Include="Longbow.Cache" Version="2.2.3" />
|
<PackageReference Include="Longbow.Cache" Version="2.2.3" />
|
||||||
<PackageReference Include="Longbow.Data" Version="2.2.6" />
|
<PackageReference Include="Longbow.Data" Version="2.2.6" />
|
||||||
<PackageReference Include="Longbow.Web" Version="2.2.5" />
|
<PackageReference Include="Longbow.Web" Version="2.2.5" />
|
||||||
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -18,7 +18,18 @@
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
|
"ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
|
||||||
},
|
},
|
||||||
"AuthHost": "http://localhost:50852",
|
"DB": [
|
||||||
"AllowOrigins": "http://localhost:50852",
|
{
|
||||||
"KeyPath": "..\\keys"
|
"Enabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Enabled": true,
|
||||||
|
"ProviderName": "Sqlite",
|
||||||
|
"ConnectionStrings": {
|
||||||
|
"ba": "Data Source=..\\Bootstrap.Admin\\BootstrapAdmin.db;"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"AuthHost": "http://localhost:50852",
|
||||||
|
"AllowOrigins": "http://localhost:50852"
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,24 +16,27 @@
|
||||||
"sql": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa",
|
"sql": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa",
|
||||||
"ba": "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,
|
"AppId": 2,
|
||||||
"AuthHost": "http://localhost:50852",
|
"AuthHost": "http://argo.zylweb.cn/BA",
|
||||||
"AllowOrigins": "http://localhost,http://10.15.63.218",
|
"AllowOrigins": "http://localhost,http://argo.zylweb.cn",
|
||||||
"KeyPath": "D:\\App\\Web-App\\keys",
|
"KeyPath": "..\\keys",
|
||||||
"ApplicationName": "__bd__",
|
"ApplicationName": "__bd__",
|
||||||
"ApplicationDiscriminator": "BootstrapAdmin",
|
"ApplicationDiscriminator": "BootstrapAdmin",
|
||||||
"DisableAutomaticKeyGeneration": true,
|
"DisableAutomaticKeyGeneration": true,
|
||||||
"LongbowCache": {
|
"LongbowCache": {
|
||||||
"Enabled": true,
|
"Enabled": true,
|
||||||
"CorsItems": [
|
|
||||||
{
|
|
||||||
"Enabled": true,
|
|
||||||
"Name": "AppName",
|
|
||||||
"Url": "CacheList.axd",
|
|
||||||
"Desc": "自定义系统",
|
|
||||||
"Self": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"CacheItems": [
|
"CacheItems": [
|
||||||
{
|
{
|
||||||
"Enabled": true,
|
"Enabled": true,
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
<PackageReference Include="Longbow.Web" Version="2.2.5" />
|
<PackageReference Include="Longbow.Web" Version="2.2.5" />
|
||||||
<PackageReference Include="Longbow.Cache" Version="2.2.3" />
|
<PackageReference Include="Longbow.Cache" Version="2.2.3" />
|
||||||
<PackageReference Include="Longbow" Version="2.2.7" />
|
<PackageReference Include="Longbow" Version="2.2.7" />
|
||||||
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Reference in New Issue