作者 lyh

gx

@@ -68,9 +68,7 @@ class AyrReleaseLogic extends BaseLogic @@ -68,9 +68,7 @@ class AyrReleaseLogic extends BaseLogic
68 $arr[] = getImageUrl($v1['path'],$this->user['storage_type'],$this->user['project_location']); 68 $arr[] = getImageUrl($v1['path'],$this->user['storage_type'],$this->user['project_location']);
69 } 69 }
70 }else{ 70 }else{
71 - $fileModel = new File();  
72 - $info = $fileModel->read(['path'=>$v]);  
73 - $arr[] = getFileUrl($info['path'],$this->user['storage_type'],$this->user['project_location']); 71 + $arr[] = getFileUrl($v,$this->user['storage_type'],$this->user['project_location']);
74 } 72 }
75 } 73 }
76 return $this->success($arr); 74 return $this->success($arr);