Thinkphp3.2/tp3.2数据库事务操作 2017-10-27 本文已影响0人 peng_js 1.启动事务:$模型->startTrans(); 2.提交事务:$模型->commit(); 3.事务回滚:$模型->rollback();