Commit e8e6b21f authored by 刘小敏's avatar 刘小敏

AI试戴接口增加日志

parent 5aaa7230
......@@ -153,6 +153,9 @@ class AiTryon extends Common
$upload = new Upload();
$attachment = $upload->uploadBase64($res['data']);
// 记录入参日志
Log::info('用户ID:'. $user->id .' AI生成图片 保存到本地接口接口出参:'.json_encode($attachment));
if($attachment['code'] == 0){
$tryonData['ai_status'] = 2;
$tryonData['ai_err_msg'] = '图片上传失败';
......
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