laravel 遍历循环

@foreach($xxx as $k=>$y)
  {{$y->id}}
@endforeach

posted @ 2019-01-17 17:10  钧一  阅读(1770)  评论(0)    收藏  举报