New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
详情展示关联数据出现查询错误 #3090
Comments
数据库查询错误在于 |
不只在这个类中,其他Admin控制器details方法中使用
也会有相同的错误 |
Hi i had same problem. I resolved it now downgrade laravel version back on 5.7 |
Thank you, it seems to be this problem, no error occurred on my project using Laravel 5.7. |
Description:
详情展示关联数据出现查询错误,其他地方使用一对多查询没错
StudentController.php @ show
如果使用
$show->registerInfos('注册信息');
输出正确:
输出:
[{"id":19,"admin_id":1,"school_id":1,"student_id":"1901442792","training_program_id":1,"payment_status":"non_payment","payee":"11111","charging_channel":"\u54c6\u5566\u5b9d","tuition":11111,"payment_date":"2019-03-15","receipt":true,"remark":null,"created_at":"2019-03-15 10:59:39","updated_at":"2019-03-15 10:59:39"}]
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: