正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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']); |
-
请 注册 或 登录 后发表评论