改进Model类的saveall方法

This commit is contained in:
thinkphp
2016-06-21 14:53:56 +08:00
parent 02a99d13d7
commit 1cc1976eaa

View File

@@ -646,7 +646,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
return $result;
} catch (\Exception $e) {
$db->rollback();
return false;
throw $e;
}
}