diff --git a/HHWMS.Web/Properties/launchSettings.json b/HHWMS.Web/Properties/launchSettings.json index ba40fd1..f5eff02 100644 --- a/HHWMS.Web/Properties/launchSettings.json +++ b/HHWMS.Web/Properties/launchSettings.json @@ -23,7 +23,7 @@ "ASPNETCORE_ENVIRONMENT": "Development", "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" }, - "applicationUrl": "http://localhost:5000/swagger" + "applicationUrl": "http://localhost:5000/" } } } diff --git a/HHWMS.Web/WebApi.db b/HHWMS.Web/WebApi.db new file mode 100644 index 0000000..99266c0 Binary files /dev/null and b/HHWMS.Web/WebApi.db differ diff --git a/HHWMS.Web/appsettings.json b/HHWMS.Web/appsettings.json index 012c63d..2ffeada 100644 --- a/HHWMS.Web/appsettings.json +++ b/HHWMS.Web/appsettings.json @@ -24,21 +24,9 @@ "Connections": [ { "Key": "default", - "Value": "Server=127.0.0.1;Port=3306;Database=8WMS;Uid=root;Password=abc123*;Character Set=utf8mb4;", - "DBType": "mysql" - }, -// { -// "Key": "default", -// "Value": "Data Source=.;Initial Catalog=WMS;User=sa;Password=abc123*;Persist Security Info=True", -// "DbContext": "DataContext", -// "DBType": "sqlserver" //DataBase, you can choose mysql,sqlserver,pgsql,sqlite,oracle -// } - //{ - // "Key": "default", - // "Value": "Data Source=10.18.106.4;Initial Catalog=8357wms;User=wms;Password=abc123*;Persist Security Info=True", - // "DbContext": "DataContext", - // "DBType": "sqlserver" //DataBase, you can choose mysql,sqlserver,pgsql,sqlite,oracle - //} + "Value": "Data Source=WebApi.db;Cache=Shared", + "DBType": "sqlite" + } ], "CookiePre": "HHWMS", //cookie前缀 "IsQuickDebug": true, //是否启用debug模式