Route::post('userlogin', 'UsersController@login'); MethodNotAllowedHttpException
提交一个表单给Route::post('userlogin', 'UsersController@login');
开始报错:MethodNotAllowedHttpException
开始报错:MethodNotAllowedHttpException
namespace App\Http\Controllers\Admin;
class UsersController extends Controller {
public function login(){
echo 2;
}
}
0 个回复