Explorar el Código

更新一些错误

sandm hace 2 años
padre
commit
1a12aee961
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Http/Controllers/Mobile/Content/ArticleController.php

+ 1 - 1
app/Http/Controllers/Mobile/Content/ArticleController.php

@@ -123,7 +123,7 @@ class ArticleController extends MobileBaseController
             'parent_id'       => $parent_id,
             'share_title'     => $article_info->title,
             'share_desc'      => $article_info->seo_description,
-            'share_image_url' => $article_info->small_img ? storage_path($article_info->small_img) : '',
+            'share_image_url' => $article_info->small_img ? theme_asset($article_info->small_img) : '',
         ];
         return view('mobile.app.content.article.show', $return_data);
     }