发布时间:2021-05-16 11:01:20 发布者:文昌文城莱奥网络技术工作室 浏览次数:997
$doorplates = array(); for ($i = $start_number; $i <= $end_number; $i++) { $doorplates[] = [ 'name' => $i, 'street_id' => $street_id, ]; } $res = db('doorplate')->insertAll($doorplates);