我看到在商品编辑页面的删除按钮,点击无效,然后参照着优惠券的教程发现只用加一条路由就好了。
$router->delete('products/{id}', 'ProductsController@destroy');\
推荐文章: