模型关联数据修正
This commit is contained in:
@@ -3,5 +3,12 @@
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('/', function () {
|
||||
|
||||
$framework = \App\Models\ProjectModal::with([
|
||||
'frameworks',
|
||||
'labels',
|
||||
'technologyStacks',
|
||||
])->get();
|
||||
ds($framework);
|
||||
return view('welcome');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user