作者 lyh

gx

@@ -96,7 +96,7 @@ class ProductController extends BaseController @@ -96,7 +96,7 @@ class ProductController extends BaseController
96 } 96 }
97 if(!empty($v['video'])){ 97 if(!empty($v['video'])){
98 $v['video']['url'] = getFileUrl($v['video']['url'],$this->user['storage_type'] ?? 0,$this->user['project_location']); 98 $v['video']['url'] = getFileUrl($v['video']['url'],$this->user['storage_type'] ?? 0,$this->user['project_location']);
99 - $v['video']['video_image'] = getImageUrl($v['video']['video_image'],$this->user['storage_type'] ?? 0,$this->user['project_location']); 99 + $v['video']['video_image'] = getImageUrl($v['video']['video_image'] ?? '',$this->user['storage_type'] ?? 0,$this->user['project_location']);
100 } 100 }
101 if(!empty($v['files']) && !empty($v['files']['url'])){ 101 if(!empty($v['files']) && !empty($v['files']['url'])){
102 $v['files']['url'] = getFileUrl($v['files']['url'],$this->user['storage_type'] ?? 0,$this->user['project_location']); 102 $v['files']['url'] = getFileUrl($v['files']['url'],$this->user['storage_type'] ?? 0,$this->user['project_location']);