完成
This commit is contained in:
@@ -48,11 +48,11 @@ class ApplySmsTemp extends Command
|
||||
// \support\Redis::setEx('expired:sms:9995', $stortime - time(), 1);
|
||||
// Log::info('定时发送,已存入redis');
|
||||
// p(123123);
|
||||
$host = RabbitMqConfig::$host;
|
||||
$port = RabbitMqConfig::$port;
|
||||
$user = RabbitMqConfig::$user;
|
||||
$password = RabbitMqConfig::$password;
|
||||
$queue = RabbitMqConfig::$queue_t . '-apply.sms.temp';
|
||||
$host = config('cons.mq.host');
|
||||
$port = config('cons.mq.port');
|
||||
$user = config('cons.mq.user');
|
||||
$password = config('cons.mq.password');
|
||||
$queue = config('cons.mq.queue_t') . '-apply.sms.temp';
|
||||
|
||||
// 防止空闲时间断线必须设置心跳
|
||||
$connection = new AMQPStreamConnection($host, $port, $user, $password,
|
||||
|
||||
Reference in New Issue
Block a user