Commit 1f5ee2ec authored by 龚双喜's avatar 龚双喜

3D试戴 调试

parent a89b86ef
...@@ -172,7 +172,7 @@ class AiTryon extends Common ...@@ -172,7 +172,7 @@ class AiTryon extends Common
// 记录入参日志 // 记录入参日志
custom_log('[AI生成图片接口] user_id:'. $user->id .' 保存到本地接口接口出参:'.json_encode($attachment), 'gen_ai'); custom_log('[AI生成图片接口] user_id:'. $user->id .' 保存到本地接口接口出参:'.json_encode($attachment), 'gen_ai');
if($attachment == 0){ if($attachment === 0){
$tryonData['ai_status'] = 2; $tryonData['ai_status'] = 2;
$tryonData['ai_err_msg'] = '图片上传失败'; $tryonData['ai_err_msg'] = '图片上传失败';
$tryonModel->save($tryonData); $tryonModel->save($tryonData);
......
...@@ -248,7 +248,7 @@ class Ai ...@@ -248,7 +248,7 @@ class Ai
] ]
], ],
"generate_audio" => false, // 不要声音 "generate_audio" => false, // 不要声音
"resolution" => "720p", // 分辨率:降档提速(原1080p改为720p)枚举值: 480p 720p 1080p "resolution" => "480p", // 分辨率:降档提速(原1080p改为720p)枚举值: 480p 720p 1080p
"duration" => 5, "duration" => 5,
"draft" => true, "draft" => true,
// "safety_identifier" => md5($userId) // "safety_identifier" => md5($userId)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment