wupengfei 2 years ago
parent
commit
85d4bfaab6
2 changed files with 3 additions and 3 deletions
  1. 2 2
      .idea/workspace.xml
  2. 1 1
      application/api/controller/Datum.php

+ 2 - 2
.idea/workspace.xml

@@ -3,7 +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/Article.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Article.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/api/controller/Datum.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Datum.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -253,7 +253,7 @@
       <workItem from="1678236784872" duration="19064000" />
       <workItem from="1678322422199" duration="23277000" />
       <workItem from="1678410737283" duration="21226000" />
-      <workItem from="1678495559564" duration="18324000" />
+      <workItem from="1678495559564" duration="25160000" />
     </task>
     <servers />
   </component>

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

@@ -688,7 +688,7 @@ class Datum extends Base
         $sel_where[]  = ['t.coll_type','=',2];
         $list = UserCollect::where($sel_where)
             ->alias('t')
-            ->field('t.id,t.create_at,t.coll_id datum_id,t.children_id url_id,i.title,i.url,i.is_vip,i.user_id,i.is_down')
+            ->field('t.id,t.create_at,t.coll_id datum_id,t.children_id url_id,i.title,i.url,i.is_vip,i.user_id,i.is_down,i.down_num')
             ->leftJoin('DatumUrl i','t.children_id = i.id')
             ->order('id desc')
             ->limit($this->off_set,$this->page_num)