chuweiqiang 1 年之前
父节点
当前提交
a90a67ff6c
共有 2 个文件被更改,包括 4 次插入6 次删除
  1. 1 6
      .idea/workspace.xml
  2. 3 0
      application/api/controller/Expedite.php

+ 1 - 6
.idea/workspace.xml

@@ -2,12 +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/Expedite.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Expedite.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/api/controller/Recruit.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Recruit.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$/runtime/temp/2b29d875bd02fe46ef8154f299b71bf1.php" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/temp/2b29d875bd02fe46ef8154f299b71bf1.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -476,7 +471,7 @@
       <workItem from="1699922141145" duration="14834000" />
       <workItem from="1699955684123" duration="243000" />
       <workItem from="1700008106547" duration="23152000" />
-      <workItem from="1700094705258" duration="3590000" />
+      <workItem from="1700094705258" duration="3753000" />
     </task>
     <servers />
   </component>

+ 3 - 0
application/api/controller/Expedite.php

@@ -168,6 +168,9 @@ class Expedite extends Base
         if(!isset($data['page_num'])){
             $data['page_num'] = 20;
         }
+        if(!isset($data['page'])){
+            $data['page'] = 1;
+        }
         $total_num = (int)$data['page_num'] * (int)$data['page'];
 //        return $total_num.'-'.$most_num;
         $page_num = $this->page_num;