chuweiqiang 11 meses atrás
pai
commit
1c95a44717
2 arquivos alterados com 2 adições e 8 exclusões
  1. 1 7
      .idea/workspace.xml
  2. 1 1
      application/api/controller/Datum.php

+ 1 - 7
.idea/workspace.xml

@@ -2,13 +2,7 @@
 <project version="4">
   <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/Datum.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Datum.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/user/controller/Member.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/user/controller/Member.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/cache/4c/d9aaff68a897261d9d4e25ac10435f.php" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/cache/4c/d9aaff68a897261d9d4e25ac10435f.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_error.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single_error.log" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/runtime/log/single_sql.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single_sql.log" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -598,7 +592,7 @@
       <workItem from="1713313957989" duration="22457000" />
       <workItem from="1713400278236" duration="25153000" />
       <workItem from="1713486783613" duration="18361000" />
-      <workItem from="1713916802858" duration="1941000" />
+      <workItem from="1713916802858" duration="2007000" />
     </task>
     <servers />
   </component>

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

@@ -1051,7 +1051,7 @@ class Datum extends Base
                 $order =  ['is_top'=>'desc','id'=>'desc'];
                 break;
             default:
-                $order =  ['is_top'=>'desc','create_at'=>'desc','like_times'=>'desc'];
+                $order =  ['is_top'=>'desc','like_times'=>'desc'];
                 break;
         }
         $list  =DatumComment::where($where)