wzq 5 vuotta sitten
vanhempi
commit
267e373ffd

+ 1 - 1
app/Transformers/Post/DetailTransformer.php

@@ -68,7 +68,7 @@ class DetailTransformer extends TransformerAbstract
             'is_collect' => PostCollect::where('post_id', $post['id'])->where('uid', $this->uid)->exists()?1:0,
             'is_follow' => $isFollow,
             'h5url' => config('customer.share_post_h5url')."?post_id={$post['id']}&invite_code={$this->invite_code}",
-            'desc_url' => $post['type'] == 'html'?config('customer.app_service_url').'/post/fragment/detail/'.$post['id']:'',
+            'desc_url' => $post['type'] == 'html'?config('customer.app_service_url').'/community/fragment/detail/'.$post['id']:'',
         ];
     }
 }

+ 1 - 1
app/Transformers/Post/SuggestTransformer.php

@@ -88,7 +88,7 @@ class SuggestTransformer extends TransformerAbstract
             'is_collect' => PostCollect::where('post_id', $post['id'])->where('uid', $this->uid)->exists()?1:0,
             'comment' => $comment,
             'is_follow' => $isFollow,
-            'desc_url' => $post['type'] == 'html'?config('customer.app_service_url').'/post/fragment/detail/'.$post['id']:'',
+            'desc_url' => $post['type'] == 'html'?config('customer.app_service_url').'/community/fragment/detail/'.$post['id']:'',
         ];
     }
 }