Commit a00169a7 authored by 刘小敏's avatar 刘小敏

3D试戴订阅消息调试

parent 53d5446d
...@@ -625,6 +625,7 @@ if (!function_exists('format_log_error')) { ...@@ -625,6 +625,7 @@ if (!function_exists('format_log_error')) {
$logInfo = implode(PHP_EOL, $logInfo) . PHP_EOL; $logInfo = implode(PHP_EOL, $logInfo) . PHP_EOL;
\think\Log::error($logInfo); \think\Log::error($logInfo);
custom_log($logInfo, 'gen_ai_video');
} }
} }
......
...@@ -40,7 +40,7 @@ class AiVideoSuccess extends Notification ...@@ -40,7 +40,7 @@ class AiVideoSuccess extends Notification
], ],
[ [
"name" => "生成时间", "name" => "生成时间",
"field" => "create_time", "field" => "createtime",
"template_field" => "time2", "template_field" => "time2",
] ]
], ],
...@@ -58,7 +58,7 @@ class AiVideoSuccess extends Notification ...@@ -58,7 +58,7 @@ class AiVideoSuccess extends Notification
], ],
[ [
"name" => "生成时间", "name" => "生成时间",
"field" => "create_time", "field" => "createtime",
"template_field" => "time3", "template_field" => "time3",
], ],
[ [
...@@ -82,7 +82,7 @@ class AiVideoSuccess extends Notification ...@@ -82,7 +82,7 @@ class AiVideoSuccess extends Notification
'fields' => [ 'fields' => [
['name' => '消息名称', 'field' => 'template'], ['name' => '消息名称', 'field' => 'template'],
['name' => '视频状态', 'field' => 'status'], ['name' => '视频状态', 'field' => 'status'],
['name' => '生成时间', 'field' => 'create_time'], ['name' => '生成时间', 'field' => 'createtime'],
['name' => '视频链接', 'field' => 'video_url'], ['name' => '视频链接', 'field' => 'video_url'],
['name' => '用户昵称', 'field' => 'nickname'], ['name' => '用户昵称', 'field' => 'nickname'],
['name' => '用户手机', 'field' => 'mobile'], ['name' => '用户手机', 'field' => 'mobile'],
...@@ -104,7 +104,7 @@ class AiVideoSuccess extends Notification ...@@ -104,7 +104,7 @@ class AiVideoSuccess extends Notification
$data['template'] = $this->returnField['name']; $data['template'] = $this->returnField['name'];
$data['status'] = '生成成功'; $data['status'] = '生成成功';
$data['create_time'] = date('Y-m-d H:i:s', $aiTryon['create_time']); $data['createtime'] = date('Y-m-d H:i:s', $aiTryon['createtime']);
$data['video_url'] = $aiTryon['ai_url'] ?? ''; $data['video_url'] = $aiTryon['ai_url'] ?? '';
$data['goods_title'] = $aiTryon['goods_title'] ?? ''; $data['goods_title'] = $aiTryon['goods_title'] ?? '';
$data['ai_err_msg'] = $aiTryon['ai_err_msg'] ?? ''; $data['ai_err_msg'] = $aiTryon['ai_err_msg'] ?? '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment