This commit is contained in:
2025-12-24 16:59:05 +08:00
parent b52a51c09b
commit b68946fe79
218 changed files with 10790 additions and 3878 deletions
@@ -85,8 +85,8 @@ class ArchivesController extends Crud
$result = $this->model->save($params);
Db::commit();
} catch (Exception $e) {
Db::rollback();
return $this->fail($e->getMessage());
Db::rollback();
return $this->fail($e->getMessage());
}
if ($result === false) {
return $this->fail(__('No rows were inserted'));