This commit is contained in:
mzl
2025-08-04 15:24:25 +08:00
parent 2f6609dab4
commit 9d6364ca93
+3 -6
View File
@@ -9,6 +9,7 @@ use Webman\RedisQueue\Consumer;
use app\common\model\User;
use app\common\utils\FeishuMessage;
use support\exception\BusinessException;
use support\Log;
class InquiryToCrm implements Consumer
{
@@ -44,7 +45,6 @@ class InquiryToCrm implements Consumer
// $scene = 'inquiry-group-send';
// $receiveType = 'group';
}
var_dump($uinfo);
// 同步客户数据
$crmCustomer = new CrmCustomer();
$crmCustomer->sn = $info->order_no;
@@ -71,12 +71,9 @@ class InquiryToCrm implements Consumer
if ($uinfo && $uinfo->email) {
$options = [
'id' => $info->id,
'email' => $uinfo->email,
// 'category' => 'inquiry',
// 'scene' => $scene,
// 'receive_type' => $receiveType
'email' => $uinfo->email
];
var_dump($options);
Log::info('发送邮件消息:' . json_encode($options));
\Webman\RedisQueue\Redis::send('email-message', $options);
}
}