ts
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user