shop_id
This commit is contained in:
parent
0e4dfd9e5d
commit
b98e1b17a6
|
|
@ -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']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue