問題描述 Route::any('/test', [app\api\controller\AggregationController::class, 'test']); Route::any('/test2', [app\api\controller\AggregationController::class, 'test2']); Route::any('/test3', [app\api\controller\Ag...
問題描述 取數(shù)據(jù)時(shí)現(xiàn)在取出來是對象,如何默認(rèn)取出來的數(shù)據(jù)為數(shù)組,找了好久沒找到 要不然每次要轉(zhuǎn),很麻煩 參照laravel數(shù)據(jù)庫連接配置中加了這個(gè)也不行 'fetch' => PDO::FETCH_ASSOC,...
如題,不要說前后端分離,我是前臺網(wǎng)站,比如要統(tǒng)一加載js,css等 總不能每個(gè)view文件里去include header,footer吧,求教...