|
...
|
...
|
@@ -59,12 +59,12 @@ class TicketUploadDataLogic extends BaseLogic |
|
|
|
if($v['type'] == 1){
|
|
|
|
if(!empty($v['text']['image'])){
|
|
|
|
foreach ($v['text']['image'] as $gallery_k => $gallery_v){
|
|
|
|
$gallery_v['url'] = getImageUrl($gallery_v['url'],$this->user['storage_type'] ?? 0,$this->user['project_location']);
|
|
|
|
$gallery_v['url'] = getImageUrl($gallery_v['url']);
|
|
|
|
$info['text']['image'][$gallery_k] = $gallery_v;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}else{
|
|
|
|
$v['text']['image'] = getImageUrl($v['text']['image'],$this->user['storage_type'],$this->user['project_location']);
|
|
|
|
$v['text']['image'] = getImageUrl($v['text']['image']);
|
|
|
|
}
|
|
|
|
return $this->success($v);
|
|
|
|
}
|
...
|
...
|
|