zhangchangchun 5 éve
szülő
commit
295a55dad2

+ 6 - 4
app/Http/Controllers/V2/VideoGroupController.php

@@ -77,10 +77,12 @@ class VideoGroupController extends Controller {
                 'name',
             ],
             'columns' => [
-                'id',
-                'name',
-                'video_count',
-                'created_at',
+                'post_id',
+                'username',
+                'topic',
+                'video',
+                'pv',
+                'praise_count',
             ],
             'name'=>$info['name'],
             'id'=>$info['id'],

+ 2 - 2
app/Transformers/VideoGroupInfoTransformer.php

@@ -34,8 +34,8 @@ class VideoGroupInfoTransformer extends  TransformerAbstract{
     public function getVideo($id) {
         try {
             // $sign = generateSign(['id'=>$id], config('customer.app_secret'));
-            // $url = config("customer.manage_service_url").'/community/post/detail';
-            $url = 'https://manage.dev.caihongxingqiu.com/community/post/detail';
+             $url = config("customer.manage_service_url").'/community/post/detail';
+           // $url = 'https://manage.dev.caihongxingqiu.com/community/post/detail';
             //$url = 'http://localhost:8080/userInfo';
             $array = [
                 'json' => ['id'=>$id], 'query' => [], 'http_errors' => false,'headers'=>['Authorization'=>"Bearer ".JWTAuth::getToken()]