首先我们定义一个Address控制器,并在其中定义两个方法,分别是:index、details,如下图:
定义address控制器及其方法
定义路由规则:
访问结果:
若有收获,就点个赞吧
0 人点赞
让时间为你证明