return DB::table('game_matchperiod')->select('starttime')->where('Type',$type)->get()
->map(function ($value) {return (array)$value;})->toArray();
laravel框架查询数据集转为数组
猜你喜欢
转载自blog.csdn.net/dabao87/article/details/82658734
今日推荐
周排行