摘要:
1 基础路由写法 Route::get('/index',function (){ return 'hello word'; });//http://127.0.0.1:8000/index 2、match 接收指定的提交方式 Route::match(['get','post'],'match', 阅读全文
posted @ 2020-04-18 18:16
_callback
阅读(221)
评论(0)
推荐(0)
摘要:
public function index() { $topics = Topic::paginate(30); return view('topics.index', compact('topics')); } 一对一关联模型 所有的 ORM 关联数据读取中都存在此问题,新手很容易踩到坑。进而导 阅读全文
posted @ 2020-04-18 00:32
_callback
阅读(290)
评论(0)
推荐(0)

浙公网安备 33010602011771号