This commit is contained in:
ASUS 2025-10-17 16:57:24 +08:00
parent 0e4dfd9e5d
commit b98e1b17a6
1 changed files with 1 additions and 1 deletions

View File

@ -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']);