摘要: return redirect('admin/index');跳转页面 @for ($i = 0; $i < 10; $i++) The current value is {{ $i }}@endfor @foreach ($users as $user) <p>This is user {{ $u 阅读全文
posted @ 2022-03-11 11:59 佛系时常 阅读(20) 评论(0) 推荐(0)
摘要: public function ad(){// // 先查询出顶级分类,也就是父级id为0的// $a = Db::name('goods')->where('pid', '0')->select();//// foreach ($a as $k => $v) {// // 定义一个空数组为二级分类 阅读全文
posted @ 2022-03-09 19:18 佛系时常 阅读(323) 评论(0) 推荐(0)