ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
` Route::resource('photos', 'PhotoController'); ` |方法 |路径 |动作 |路由名称 | |- |- |- |- | |GET | /photos | index | photos.index | |GET | /photos/create | create | photos.create | |POST | /photos |store | photos.store | |GET | /photos/{photo} | show | photos.show | |GET | /photos/{photo}/edit | edit | photos.edit | |PUT/PATCH | /photos/{photo} | update | photos.update | |DELETE | /photos/{photo} | destroy | photos.destroy |