|
...
|
...
|
@@ -40,6 +40,7 @@ class CustomModuleContentLogic extends BaseLogic |
|
|
|
$this->fail('当前数据不存在或已被删除');
|
|
|
|
}
|
|
|
|
$info['image'] = getImageUrl($info['image'],$this->user['storage_type'],$this->user['project_location']);
|
|
|
|
$info['video'] = getFileUrl($info['video'],$this->user['storage_type'],$this->user['project_location']);
|
|
|
|
$info['extend'] = $this->getExtendInfo($info['module_id'],$info['id']);
|
|
|
|
return $this->success($info);
|
|
|
|
}
|
|
...
|
...
|
@@ -217,6 +218,9 @@ class CustomModuleContentLogic extends BaseLogic |
|
|
|
if(isset($param['image']) && !empty($param['image'])){
|
|
|
|
$param['image'] = str_replace_url($param['image']);
|
|
|
|
}
|
|
|
|
if(isset($param['video']) && !empty($param['video'])){
|
|
|
|
$param['video'] = str_replace_url($param['video']);
|
|
|
|
}
|
|
|
|
return $this->success($param);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|