wesmiler hace 22 horas
padre
commit
d7aff8b102
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/Api/PostRecordService.php

+ 1 - 1
app/Services/Api/PostRecordService.php

@@ -125,7 +125,7 @@ class PostRecordService extends BaseService
         $replyId = isset($params['reply_id']) ? intval($params['reply_id']) : 0;
         $replyUid = isset($params['reply_uid']) ? intval($params['reply_uid']) : 0;
         $description = isset($params['content']) && $params['content']? trim($params['content']) : '';
-        $albums = isset($params['albums']) ? get_format_images($params['albums'], '') : '';
+        $albums = isset($params['albums']) ? get_format_images($params['albums'], 'url') : '';
         if(empty($sourceId)){
             $this->error = '请选择评论的动态';
             return false;