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