附件路径

This commit is contained in:
2025-08-11 10:18:40 +08:00
parent bbad18c09a
commit 49436b65d5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class ConversationService
$result[$key]['content'] = str_replace($status_fanyi,$ticket_status,$value['content']);
$result[$key]['attachment'] = empty($value['attachment'])?[]:unserialize($value['attachment']);
foreach ($result[$key]['attachment'] as $k => $attachment) {
$result[$key]['attachment_full'][$k] = (!empty($attachment))?$ossservice->generatePrivateUrl($attachment):'';
$result[$key]['storage_path_full'][$k] = (!empty($attachment))?$ossservice->generatePrivateUrl($attachment['storage_path']):'';
}
}
return $result;