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

+ 2 - 4
.idea/workspace.xml

@@ -3,9 +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/common/model/VideoIntro.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/common/model/VideoIntro.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$/runtime/log/single_sql.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single_sql.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" />
@@ -594,7 +592,7 @@
       <workItem from="1713228029820" duration="12598000" />
       <workItem from="1713313957989" duration="22457000" />
       <workItem from="1713400278236" duration="25153000" />
-      <workItem from="1713486783613" duration="1073000" />
+      <workItem from="1713486783613" duration="3040000" />
     </task>
     <servers />
   </component>

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

@@ -899,7 +899,7 @@ class Video extends Base
                 $order =  ['c.is_top'=>'desc','c.id'=>'desc','c.like_times'=>'desc'];
                 break;
             case 2:
-                $order =   ['c.is_top'=>'desc','c.like_times'=>'desc','c.id'=>'asc'];
+                $order =   ['c.is_top'=>'desc','c.like_times'=>'desc','c.id'=>'desc'];
                 break;
         }