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
67bc2b79
Commit
67bc2b79
authored
May 19, 2026
by
刘小敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3D试戴 调试12
parent
1ebb5b3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AiTryon.php
addons/shopro/controller/user/AiTryon.php
+2
-2
No files found.
addons/shopro/controller/user/AiTryon.php
View file @
67bc2b79
...
@@ -180,7 +180,7 @@ class AiTryon extends Common
...
@@ -180,7 +180,7 @@ class AiTryon extends Common
}
}
$tryonData
[
'ai_status'
]
=
1
;
$tryonData
[
'ai_status'
]
=
1
;
$tryonData
[
'ai_url'
]
=
config
(
'shopro.api_host'
)
.
$attachment
[
'data'
]
;
$tryonData
[
'ai_url'
]
=
config
(
'shopro.api_host'
)
.
$attachment
;
$id
=
$tryonModel
->
insertGetId
(
$tryonData
);
$id
=
$tryonModel
->
insertGetId
(
$tryonData
);
// 试戴次数+1
// 试戴次数+1
...
@@ -191,7 +191,7 @@ class AiTryon extends Common
...
@@ -191,7 +191,7 @@ class AiTryon extends Common
$aiService
=
new
Ai
();
$aiService
=
new
Ai
();
$aiService
->
sendNotification
(
$user
->
id
,
$id
);
$aiService
->
sendNotification
(
$user
->
id
,
$id
);
$this
->
success
(
'图片生成成功'
,
config
(
'shopro.api_host'
)
.
$attachment
[
'data'
]
??
''
);
$this
->
success
(
'图片生成成功'
,
config
(
'shopro.api_host'
)
.
$attachment
);
}
}
}
}
...
...
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