日志修改
This commit is contained in:
@@ -38,12 +38,12 @@ class ApplySmsTemp extends Command
|
||||
*/
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
$str = '亲爱的${用户昵称}您好,${店铺名称}祝您生日快乐!感谢您一直的陪伴。为您准备了${数量}张超值优惠券,已放入账户,愿我们的礼物能为您增添一份喜悦。拒收请回复R';
|
||||
$templateContent_arr = ShopInfo::handleSmsTemplates($str);
|
||||
$a = '{"店铺名称":"火锅店","用户昵称":"嘿嘿","数量":"123"}';
|
||||
p(replace_json_keys($a, json_encode($templateContent_arr, 256), []));
|
||||
$t_str = replace_placeholder_keys($str, $templateContent_arr);
|
||||
p($templateContent_arr, $t_str);
|
||||
// $str = '亲爱的${用户昵称}您好,${店铺名称}祝您生日快乐!感谢您一直的陪伴。为您准备了${数量}张超值优惠券,已放入账户,愿我们的礼物能为您增添一份喜悦。拒收请回复R';
|
||||
// $templateContent_arr = ShopInfo::handleSmsTemplates($str);
|
||||
// $a = '{"店铺名称":"火锅店","用户昵称":"嘿嘿","数量":"123"}';
|
||||
// p(replace_json_keys($a, json_encode($templateContent_arr, 256), []));
|
||||
// $t_str = replace_placeholder_keys($str, $templateContent_arr);
|
||||
// p($templateContent_arr, $t_str);
|
||||
|
||||
|
||||
$host = RabbitMqConfig::$host;
|
||||
|
||||
Reference in New Issue
Block a user