shop_id
This commit is contained in:
parent
5a92485250
commit
52f4760743
|
|
@ -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, 2])->find();
|
||||
$temp = Db::table('sms_shop_template')->where(['id' => $shop_template_id])->where('status', 'in', [0, -2])->find();
|
||||
if($temp) {
|
||||
// 处理替换内容
|
||||
$templateContent_arr = ShopInfo::handleSmsTemplates($temp['content']);
|
||||
|
|
@ -63,7 +63,7 @@ class ApplySmsTemp implements Consumer
|
|||
'status' => $status,
|
||||
'template_code' => $template_code,
|
||||
'content_json' => $templateContent_json,
|
||||
'reple_json' => json_encode($templateContent_arr),
|
||||
'reple_json' => json_encode($templateContent_arr, 256),
|
||||
'fail_msg' => $fail_msg,
|
||||
'order_id' => $order_id,
|
||||
'update_time' => date('Y-m-d H:i:s'),
|
||||
|
|
@ -90,7 +90,7 @@ class ApplySmsTemp implements Consumer
|
|||
$update_data = [
|
||||
'status' => $status,
|
||||
'content_json' => $templateContent_json,
|
||||
'reple_json' => json_encode($templateContent_arr),
|
||||
'reple_json' => json_encode($templateContent_arr, 256),
|
||||
'fail_msg' => $fail_msg,
|
||||
'update_time' => date('Y-m-d H:i:s'),
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue