Db::startTrans();
try {
Db::commit();
} catch (\Exception $e) {
$e->getMessage()
Db::rollback();
}
tp5的事务操作
最新推荐文章于 2022-12-31 17:06:34 发布