|
|
1
1
使用一对多关系。 在客户端。php模型
在你的项目中。php模型
现在打电话
https://laravel.com/docs/5.5/eloquent-relationships#one-to-many |
|
|
2
0
而不是采取
以下是laravel文档链接: Laravel 5.5 Documentation - Queries#where-clauses 我是在回答我对你的要求的理解,这不是很清楚。 |