优化代码

main
gzydong 2021-05-25 22:06:54 +08:00
parent 8476214e12
commit 0a3edd9e64
1 changed files with 8 additions and 3 deletions

View File

@ -15,13 +15,18 @@ namespace App\Process;
use Hyperf\AsyncQueue\Process\ConsumerProcess; use Hyperf\AsyncQueue\Process\ConsumerProcess;
use Hyperf\Process\Annotation\Process; use Hyperf\Process\Annotation\Process;
///** /**
// * @Process * @Process
// */ */
class AsyncQueueConsumer extends ConsumerProcess class AsyncQueueConsumer extends ConsumerProcess
{ {
public function handle(): void public function handle(): void
{ {
} }
public function isEnable($server): bool
{
return false;
}
} }