我有路线:
Route::get('donepayment', ['as' => 'paymentsuccess', 'uses' => 'PaymentsController@paymentsuccess']);
它工作正常,它不在命名空间下,但在这样的命名空间下,
Route::group(['middleware' => 'auth'], function () {
Route::group(['namespace' => 'User', 'as' => 'user.'], function () {
Route::get('donepayment', ['as' => 'paymentsuccess', 'uses' => 'PaymentsController@paymentsuccess']);
它不起作用。有人可以帮我解决这个问题。