chuweiqiang 1 year ago
parent
commit
d1dda6fafe
2 changed files with 3 additions and 4 deletions
  1. 2 3
      .idea/workspace.xml
  2. 1 1
      application/api/controller/Video.php

+ 2 - 3
.idea/workspace.xml

@@ -3,8 +3,7 @@
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/api/controller/Forum.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Forum.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/log/single.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single.log" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/api/controller/Video.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Video.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -570,7 +569,7 @@
       <workItem from="1710722050864" duration="8908000" />
       <workItem from="1710808231575" duration="7017000" />
       <workItem from="1710817453185" duration="16334000" />
-      <workItem from="1710896140284" duration="14515000" />
+      <workItem from="1710896140284" duration="14934000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/api/controller/Video.php

@@ -1070,7 +1070,7 @@ class Video extends Base
         if($title)  $sel_where[]  = ['i.title|i.label','like','%'.$title.'%'];
         $list = UserTrack::where($sel_where)
             ->alias('t')
-            ->field('t.id,t.update_int,t.first_id video_id,t.second_id url_id,i.title,i.cover,i.ali_vid,i.duration,i.read_num,i.user_id,x.title series_title')
+            ->field('t.id,t.update_int,t.first_id video_id,t.second_id url_id,i.title,i.cover,i.ali_vid,i.duration,i.read_num,i.user_id,i.is_vip,x.title series_title')
             ->leftJoin('VideoUrl i','t.second_id = i.id')
             ->leftJoin('VideoIntro x','t.first_id = x.id')
             ->order('update_int desc')