This commit is contained in:
彭桃 2023-03-21 15:45:46 +08:00
parent f84e122636
commit caaf18febc

View File

@ -1914,7 +1914,7 @@ class Maintainentry extends BaseController
Db::table('fa_szxc_family')->strict(false)->insert($szxc_family); Db::table('fa_szxc_family')->strict(false)->insert($szxc_family);
} }
Db::commit(); Db::commit();
$this->apiSuccess('操作成功'); $this->apiSuccess('操作成功','操作成功');
} catch (ValidateException | \PDOException | Exception $e) { } catch (ValidateException | \PDOException | Exception $e) {
Db::rollback(); Db::rollback();
$this->apiError($e->getMessage()); $this->apiError($e->getMessage());