mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
patchQuery方法BUG
发生异常回滚缺少返回值
This commit is contained in:
@@ -73,6 +73,7 @@ trait Query
|
||||
$this->commit();
|
||||
} catch (\think\exception $e) {
|
||||
$this->rollback();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user