1.启动事务:$模型->startTrans(); 2.提交事务:$模型->commit(); 3.事务回滚:$模型->rollback();
1.启动事务:$模型->startTrans();
2.提交事务:$模型->commit();
3.事务回滚:$模型->rollback();