diff --git a/WebStarter/Controllers/CarController.cs b/WebStarter/Controllers/CarController.cs
index 41ceedd..c67712d 100644
--- a/WebStarter/Controllers/CarController.cs
+++ b/WebStarter/Controllers/CarController.cs
@@ -133,7 +133,7 @@ public class CarController : ControllerBase
return true;
}
-
+
///
/// 清空数据
///
diff --git a/WebStarter/Program.cs b/WebStarter/Program.cs
index ecd0646..3d58512 100644
--- a/WebStarter/Program.cs
+++ b/WebStarter/Program.cs
@@ -15,7 +15,7 @@ builder.Host.ConfigureContainer(cb =>
{
cb.Register(c =>
{
- var db = new SqlSugarClient(new ConnectionConfig
+ var db = new SqlSugarScope(new ConnectionConfig
{
ConfigId = AppSettingsConstVars.ConfigId,
ConnectionString = AppSettingsConstVars.DbSqlConnection, // �������ݿ������ַ���