Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
loveisland
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘小敏
loveisland
Commits
a00169a7
Commit
a00169a7
authored
May 19, 2026
by
刘小敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3D试戴订阅消息调试
parent
53d5446d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
helper.php
addons/shopro/helper/helper.php
+1
-0
AiVideoSuccess.php
addons/shopro/notification/ai/AiVideoSuccess.php
+4
-4
No files found.
addons/shopro/helper/helper.php
View file @
a00169a7
...
...
@@ -625,6 +625,7 @@ if (!function_exists('format_log_error')) {
$logInfo
=
implode
(
PHP_EOL
,
$logInfo
)
.
PHP_EOL
;
\think\Log
::
error
(
$logInfo
);
custom_log
(
$logInfo
,
'gen_ai_video'
);
}
}
...
...
addons/shopro/notification/ai/AiVideoSuccess.php
View file @
a00169a7
...
...
@@ -40,7 +40,7 @@ class AiVideoSuccess extends Notification
],
[
"name"
=>
"生成时间"
,
"field"
=>
"create
_
time"
,
"field"
=>
"createtime"
,
"template_field"
=>
"time2"
,
]
],
...
...
@@ -58,7 +58,7 @@ class AiVideoSuccess extends Notification
],
[
"name"
=>
"生成时间"
,
"field"
=>
"create
_
time"
,
"field"
=>
"createtime"
,
"template_field"
=>
"time3"
,
],
[
...
...
@@ -82,7 +82,7 @@ class AiVideoSuccess extends Notification
'fields'
=>
[
[
'name'
=>
'消息名称'
,
'field'
=>
'template'
],
[
'name'
=>
'视频状态'
,
'field'
=>
'status'
],
[
'name'
=>
'生成时间'
,
'field'
=>
'create
_
time'
],
[
'name'
=>
'生成时间'
,
'field'
=>
'createtime'
],
[
'name'
=>
'视频链接'
,
'field'
=>
'video_url'
],
[
'name'
=>
'用户昵称'
,
'field'
=>
'nickname'
],
[
'name'
=>
'用户手机'
,
'field'
=>
'mobile'
],
...
...
@@ -104,7 +104,7 @@ class AiVideoSuccess extends Notification
$data
[
'template'
]
=
$this
->
returnField
[
'name'
];
$data
[
'status'
]
=
'生成成功'
;
$data
[
'create
_time'
]
=
date
(
'Y-m-d H:i:s'
,
$aiTryon
[
'create_
time'
]);
$data
[
'create
time'
]
=
date
(
'Y-m-d H:i:s'
,
$aiTryon
[
'create
time'
]);
$data
[
'video_url'
]
=
$aiTryon
[
'ai_url'
]
??
''
;
$data
[
'goods_title'
]
=
$aiTryon
[
'goods_title'
]
??
''
;
$data
[
'ai_err_msg'
]
=
$aiTryon
[
'ai_err_msg'
]
??
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment