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
1f5ee2ec
Commit
1f5ee2ec
authored
May 19, 2026
by
龚双喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3D试戴 调试
parent
a89b86ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
AiTryon.php
addons/shopro/controller/user/AiTryon.php
+1
-1
Ai.php
addons/shopro/service/user/Ai.php
+1
-1
No files found.
addons/shopro/controller/user/AiTryon.php
View file @
1f5ee2ec
...
...
@@ -172,7 +172,7 @@ class AiTryon extends Common
// 记录入参日志
custom_log
(
'[AI生成图片接口] user_id:'
.
$user
->
id
.
' 保存到本地接口接口出参:'
.
json_encode
(
$attachment
),
'gen_ai'
);
if
(
$attachment
==
0
){
if
(
$attachment
==
=
0
){
$tryonData
[
'ai_status'
]
=
2
;
$tryonData
[
'ai_err_msg'
]
=
'图片上传失败'
;
$tryonModel
->
save
(
$tryonData
);
...
...
addons/shopro/service/user/Ai.php
View file @
1f5ee2ec
...
...
@@ -248,7 +248,7 @@ class Ai
]
],
"generate_audio"
=>
false
,
// 不要声音
"resolution"
=>
"
72
0p"
,
// 分辨率:降档提速(原1080p改为720p)枚举值: 480p 720p 1080p
"resolution"
=>
"
48
0p"
,
// 分辨率:降档提速(原1080p改为720p)枚举值: 480p 720p 1080p
"duration"
=>
5
,
"draft"
=>
true
,
// "safety_identifier" => md5($userId)
...
...
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