正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -94,7 +94,7 @@ class CustomModuleContentLogic extends BaseLogic | @@ -94,7 +94,7 @@ class CustomModuleContentLogic extends BaseLogic | ||
| 94 | }elseif($v['type'] == 4){ | 94 | }elseif($v['type'] == 4){ |
| 95 | $arr1 = json_decode($info['values']); | 95 | $arr1 = json_decode($info['values']); |
| 96 | foreach ($arr1 as $k1=>$v1){ | 96 | foreach ($arr1 as $k1=>$v1){ |
| 97 | - $v1 = getFileUrl($v1,$this->user['storage_type'],$this->user['project_location'],$this->user['file_cdn'] ?? 0); | 97 | + $v1['url'] = getFileUrl($v1['url'] ?? $v1,$this->user['storage_type'],$this->user['project_location'],$this->user['file_cdn'] ?? 0); |
| 98 | $arr1[$k1] = $v1; | 98 | $arr1[$k1] = $v1; |
| 99 | } | 99 | } |
| 100 | $v['values'] = $arr1; | 100 | $v['values'] = $arr1; |
-
请 注册 或 登录 后发表评论