diff --git a/app/queue/redis/ApplySmsTemp.php b/app/queue/redis/ApplySmsTemp.php index 686f123..0307152 100644 --- a/app/queue/redis/ApplySmsTemp.php +++ b/app/queue/redis/ApplySmsTemp.php @@ -27,7 +27,7 @@ class ApplySmsTemp implements Consumer } try { // 查询没有提交审核的模版 - $temp = Db::table('sms_shop_template')->where(['id' => $shop_template_id])->where('status', 'in', [0, -2])->find(); + $temp = Db::table('sms_shop_template')->where(['id' => $shop_template_id])->where('status', 'in', [0, -2, 2])->find(); if($temp) { // 处理替换内容 $templateContent_arr = ShopInfo::handleSmsTemplates($temp['content']);