优化代码
parent
8476214e12
commit
0a3edd9e64
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue