true
This commit is contained in:
parent
37c5fb8125
commit
7f0ccece3c
|
|
@ -3,7 +3,6 @@
|
|||
namespace app\command;
|
||||
|
||||
use app\common\model\RabbitMqConfig;
|
||||
use app\model\ShopInfo;
|
||||
use PhpAmqpLib\Connection\AMQPStreamConnection;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
|
|
@ -33,11 +32,6 @@ class ApplySmsTemp extends Command
|
|||
*/
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
// $user['nick_name'] = 1;
|
||||
// $a = saveJson_arr('{"时间":"15:39","用户昵称":"某某某"}', '{"username":"用户昵称","time":"时间"}', $user);
|
||||
// p($a);
|
||||
//
|
||||
//
|
||||
|
||||
// $str = '亲爱的${用户昵称}您好,${店铺名称}祝您生日快乐!感谢您一直的陪伴。为您准备了${数量}张超值优惠券,已放入账户,愿我们的礼物能为您增添一份喜悦。拒收请回复R';
|
||||
// $templateContent_arr = ShopInfo::handleSmsTemplates($str);
|
||||
|
|
@ -65,7 +59,7 @@ class ApplySmsTemp extends Command
|
|||
60,
|
||||
60,
|
||||
null,
|
||||
false,
|
||||
true,
|
||||
30
|
||||
);
|
||||
$rabbit_channel = $connection->channel();
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ class BirthdayGiftSms extends Command
|
|||
60,
|
||||
60,
|
||||
null,
|
||||
false,
|
||||
true,
|
||||
30
|
||||
);
|
||||
$rabbit_channel = $connection->channel();
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ class RabbOrderPrint extends Command
|
|||
60,
|
||||
60,
|
||||
null,
|
||||
false,
|
||||
true,
|
||||
30
|
||||
);
|
||||
$rabbit_channel = $connection->channel();
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ class RabbProductUpdate extends Command
|
|||
60,
|
||||
60,
|
||||
null,
|
||||
false,
|
||||
true,
|
||||
30
|
||||
);
|
||||
$rabbit_channel = $connection->channel();
|
||||
|
|
|
|||
Loading…
Reference in New Issue