Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-18 18:55:36 +08:00
parent 164065493e
commit 5d73bb2c33
+1 -2
View File
@@ -114,8 +114,7 @@ class Model extends Base\Model
} }
$model = new static(); $model = new static();
/** @var Connection $database */ $database = $model->getConnection();
$database = Kiri::app()->get($model->getConnection());
$database->beginTransaction(); $database->beginTransaction();
try { try {
/** @var static $select */ /** @var static $select */