Prechádzať zdrojové kódy

使用请求中的channel参数

visuddhinanda 2 rokov pred
rodič
commit
fdba355485
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/Http/Resources/SentResource.php

+ 1 - 1
app/Http/Resources/SentResource.php

@@ -46,7 +46,7 @@ class SentResource extends JsonResource
         }
         }
         if($request->get('html',true)){
         if($request->get('html',true)){
             $data['html'] = MdRender::render($this->content,
             $data['html'] = MdRender::render($this->content,
-                                             [$this->channel_uid],
+                                             $channels,
                                              null,
                                              null,
                                              $mode,
                                              $mode,
                                              $channel['type'],
                                              $channel['type'],