Преглед на файлове

Merge branch 'master' of git.huaml.com:zhh/huahuibao

shizhongqi преди 4 години
родител
ревизия
0d97247ba0
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      app-hd/controllers/WorkController.php

+ 3 - 0
app-hd/controllers/WorkController.php

@@ -52,6 +52,9 @@ class WorkController extends BaseController
             $status = $get['status'];
             $where['status'] = $status;
         }
+        if (isset($get['fromType']) && is_numeric($get['fromType'])) {
+            $where['fromType'] = $get['fromType'];
+        }
         $list = WorkClass::getWorkList($where);
         $list['today'] = date("Y-m-d");
         util::success($list);