diff --git a/app/ticket/service/ConversationService.php b/app/ticket/service/ConversationService.php index 5bc977c..951b9e4 100644 --- a/app/ticket/service/ConversationService.php +++ b/app/ticket/service/ConversationService.php @@ -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]['storage_path_full'][$k] = (!empty($attachment))?$ossservice->generatePrivateUrl($attachment['storage_path']):''; + $result[$key]['attachment']['storage_path_full'][$k] = (!empty($attachment))?$ossservice->generatePrivateUrl($attachment['storage_path']):''; } } return $result;