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
8bc20b6f
Commit
8bc20b6f
authored
Jun 06, 2026
by
刘小敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
试戴表商品图加域名
parent
f8990ed5
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 @
8bc20b6f
...
...
@@ -112,7 +112,7 @@ class AiTryon extends Common
// 查询商品信息,获取 image 字段
$goods
=
Goods
::
where
(
'id'
,
$params
[
'goods_id'
])
->
find
();
$goodsImage
=
$goods
?
$goods
->
image
:
''
;
$goodsImage
=
$goods
?
config
(
'shopro.api_host'
)
.
$goods
->
image
:
''
;
// 我的试戴
$tryonModel
=
new
AiTryOnModel
();
...
...
@@ -209,7 +209,7 @@ class AiTryon extends Common
// 查询商品信息,获取 image 字段
$goods
=
Goods
::
where
(
'id'
,
$params
[
'goods_id'
])
->
find
();
$goodsImage
=
$goods
?
$goods
->
image
:
''
;
$goodsImage
=
$goods
?
config
(
'shopro.api_host'
)
.
$goods
->
image
:
''
;
// 保存一条 我的试戴
$tryonModel
=
new
AiTryOnModel
();
...
...
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