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
b31b06e8
Commit
b31b06e8
authored
May 21, 2026
by
刘小敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3D试戴订阅消息修正 优化
parent
e8ae0a3b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
AiVideoSuccess.php
addons/shopro/notification/ai/AiVideoSuccess.php
+3
-8
Ai.php
addons/shopro/service/user/Ai.php
+1
-1
No files found.
addons/shopro/notification/ai/AiVideoSuccess.php
View file @
b31b06e8
...
@@ -48,15 +48,10 @@ class AiVideoSuccess extends Notification
...
@@ -48,15 +48,10 @@ class AiVideoSuccess extends Notification
'WechatMiniProgram'
=>
[
'WechatMiniProgram'
=>
[
'category_id'
=>
670
,
'category_id'
=>
670
,
'tid'
=>
''
,
// 需要在后台配置模板ID
'tid'
=>
''
,
// 需要在后台配置模板ID
'kid'
=>
[
1
,
2
],
'kid'
=>
[
1
,
2
,
3
],
'scene_desc'
=>
'
AI视频生成
成功通知用户'
,
'scene_desc'
=>
'
3D试戴
成功通知用户'
,
'fields'
=>
[
'fields'
=>
[
[
[
"name"
=>
"视频状态"
,
"field"
=>
"status"
,
"template_field"
=>
"character_string1"
,
],
[
"name"
=>
"生成时间"
,
"name"
=>
"生成时间"
,
"field"
=>
"createtime"
,
"field"
=>
"createtime"
,
"template_field"
=>
"time3"
,
"template_field"
=>
"time3"
,
...
@@ -77,7 +72,7 @@ class AiVideoSuccess extends Notification
...
@@ -77,7 +72,7 @@ class AiVideoSuccess extends Notification
// 返回的字段列表
// 返回的字段列表
public
$returnField
=
[
public
$returnField
=
[
'name'
=>
'
AI视频生成
成功通知'
,
'name'
=>
'
3D试戴
成功通知'
,
'channels'
=>
[
'Sms'
,
'Email'
,
'WechatOfficialAccount'
,
'WechatMiniProgram'
],
'channels'
=>
[
'Sms'
,
'Email'
,
'WechatOfficialAccount'
,
'WechatMiniProgram'
],
'fields'
=>
[
'fields'
=>
[
[
'name'
=>
'消息名称'
,
'field'
=>
'template'
],
[
'name'
=>
'消息名称'
,
'field'
=>
'template'
],
...
...
addons/shopro/service/user/Ai.php
View file @
b31b06e8
...
@@ -45,7 +45,7 @@ class Ai
...
@@ -45,7 +45,7 @@ class Ai
$user
&&
$user
->
notify
(
$user
&&
$user
->
notify
(
new
AiVideoSuccess
([
new
AiVideoSuccess
([
'ai_tryon'
=>
$aiTryon
?
$aiTryon
->
toArray
()
:
[],
'ai_tryon'
=>
$aiTryon
?
$aiTryon
->
toArray
()
:
[],
'user'
=>
$
aiTryon
?
$user
->
toArray
()
:
[]
'user'
=>
$
user
?
$user
->
toArray
()
:
[]
])
])
);
);
...
...
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