添加测试路由并访问：

监听队列

php artisan queue:work --queue=PaymentNotify --tries=3 --sleep=0

可查看使用说明

$php artisan queue:work --help
Usage:
queue:work [options] [--] [<connection>]
Arguments:
connection The name of connection
Options:
--queue[=QUEUE] The queue to listen on
--daemon Run the worker in daemon mode (Deprecated)
--once Only process the next job on the queue
--delay[=DELAY] Amount of time to delay failed jobs [default: "0"]
--force Force the worker to run even in maintenance mode
--memory[=MEMORY] The memory limit in megabytes [default: "128"]
--sleep[=SLEEP] Number of seconds to sleep when no job is available [default: "3"]
--timeout[=TIMEOUT] The number of seconds a child process can run [default: "60"]
--tries[=TRIES] Number of times to attempt a job before logging it failed [default: "0"]
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
--env[=ENV] The environment the command should run under
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug