13283339616 6 年之前
父节点
当前提交
35d1517158
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      app/Models/VestPublish.php

+ 3 - 3
app/Models/VestPublish.php

72
                     //视频个数
72
                     //视频个数
73
                     $info['counts']=1;
73
                     $info['counts']=1;
74
                     //点赞
74
                     //点赞
75
-                    $datas=self::thumb_up($publish_info[0]['id']);
75
+                    $datas=self::thumb_up($info['id']);
76
                     $info['thumb_up_num'] =$datas['thumb_up_num'];
76
                     $info['thumb_up_num'] =$datas['thumb_up_num'];
77
                     $info['thumb_up_imgs']=$datas['thumb_up_imgs'];
77
                     $info['thumb_up_imgs']=$datas['thumb_up_imgs'];
78
                     $publish_info[$key]=$info;
78
                     $publish_info[$key]=$info;
88
                             //图集个数
88
                             //图集个数
89
                             $info['counts']=1;
89
                             $info['counts']=1;
90
                             //点赞
90
                             //点赞
91
-                            $datas=self::thumb_up($publish_info[0]['id']);
91
+                            $datas=self::thumb_up($info['id']);
92
                             $info['thumb_up_num'] =$datas['thumb_up_num'];
92
                             $info['thumb_up_num'] =$datas['thumb_up_num'];
93
                             $info['thumb_up_imgs']=$datas['thumb_up_imgs'];
93
                             $info['thumb_up_imgs']=$datas['thumb_up_imgs'];
94
                             $publish_info[$key]=$info;
94
                             $publish_info[$key]=$info;
100
                             //图集个数
100
                             //图集个数
101
                             $info['counts']=count($info['publish_info']);
101
                             $info['counts']=count($info['publish_info']);
102
                             //点赞
102
                             //点赞
103
-                            $datas=self::thumb_up($publish_info[0]['id']);
103
+                            $datas=self::thumb_up($info['id']);
104
                             $info['thumb_up_num'] =$datas['thumb_up_num'];
104
                             $info['thumb_up_num'] =$datas['thumb_up_num'];
105
                             $info['thumb_up_imgs']=$datas['thumb_up_imgs'];
105
                             $info['thumb_up_imgs']=$datas['thumb_up_imgs'];
106
                             $publish_info[$key]=$info;
106
                             $publish_info[$key]=$info;