2016-06-28 26 views

回答

2

使用insertGetId如下。

$insertid = DB::collection('hotels')->insertGetId($insertArray); 
+0

它的工作......謝謝 –