工单附件
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user