Loading...
咋样!
1、DB facade推荐使用数据绑定,语句里用?代替插入数据 (返回BOOL 插入是否成功)$result = DB::insert('插入的SQL语句...
基础路由GET请求Route::get('show1', function() { return 'get'; }); 访问SERVERDIR/public/show1显示 getPOST请求Route::post('show2', function() { return 'post'; }); 访问SERVERDIR/public/show2显示 post多请求路由指定请求...
第一步:在项目的composer.json中require的添加如下一行“barryvdh/laravel-ide-helper”:”dev-master...