0
$data['slug'] = str_replace(' ','-', $request->slug);
导致错误laravel蛞蝓后不工作的孟加拉的语言,但英语做工精细
Sorry, the page you are looking for could not be found.
$data['slug'] = str_replace(' ','-', $request->slug);
导致错误laravel蛞蝓后不工作的孟加拉的语言,但英语做工精细
Sorry, the page you are looking for could not be found.
这里是解决这个的其他方式。使用laravel slug str_slug($request->slug)