Laravel 视图调用model方法

 

首先控制器

model

 

 视图

 

posted @ 2019-04-26 16:54  做网站的菜鸟  阅读(1644)  评论(0编辑  收藏  举报