|
...
|
...
|
@@ -94,7 +94,8 @@ class CustomModuleContentLogic extends BaseLogic |
|
|
|
}elseif($v['type'] == 4){
|
|
|
|
$arr1 = json_decode($info['values']);
|
|
|
|
foreach ($arr1 as $k1=>$v1){
|
|
|
|
$v1 = getFileUrl($v1,$this->user['storage_type'],$this->user['project_location'],$this->user['file_cdn'] ?? 0);
|
|
|
|
$v1 = (array)$v1;
|
|
|
|
$v1['url'] = getFileUrl($v1['url'] ?? $v1,$this->user['storage_type'],$this->user['project_location'],$this->user['file_cdn'] ?? 0);
|
|
|
|
$arr1[$k1] = $v1;
|
|
|
|
}
|
|
|
|
$v['values'] = $arr1;
|
|
...
|
...
|
@@ -306,7 +307,7 @@ class CustomModuleContentLogic extends BaseLogic |
|
|
|
$v['values'] = json_encode($v['values']);
|
|
|
|
}elseif ($v['type'] == 4){
|
|
|
|
foreach ($v['values'] as $k1=>$v1){
|
|
|
|
$v1 = str_replace_url($v1);
|
|
|
|
$v1['url'] = str_replace_url($v1['url']);
|
|
|
|
$v['values'][$k1] = $v1;
|
|
|
|
}
|
|
|
|
$v['values'] = json_encode($v['values']);
|
...
|
...
|
|