摘要: DB::beginTransaction(); try{ $name = 'abc'; $result1 = Test::create(['name'=>$name]); if (!$result1) { /** * Exception类接收的参数 * $message = "", $code = 阅读全文
posted @ 2019-05-28 17:09 zhangsima 阅读(139) 评论(0) 推荐(0) 编辑