重构代码:默认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",
|
||||
"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
|
||||
}
|
||||
],
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
<PackageReference Include="Longbow.Cache" Version="2.2.3" />
|
||||
<PackageReference Include="Longbow.Data" Version="2.2.6" />
|
||||
<PackageReference Include="Longbow.Web" Version="2.2.5" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.2" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
<PackageReference Include="Longbow.Web" Version="2.2.5" />
|
||||
<PackageReference Include="Longbow.Cache" Version="2.2.3" />
|
||||
<PackageReference Include="Longbow" Version="2.2.7" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="2.2.2" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
Loading…
Reference in New Issue