Selaa lähdekoodia

超时管理调整

zhangxiaobin 1 vuosi sitten
vanhempi
commit
6735b40fac
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      application/index/controller/TaskList.php

+ 1 - 1
application/index/controller/TaskList.php

@@ -27,7 +27,7 @@ class TaskList extends Controller
             $recharOrder = model('RecharOrder')->where($where)->count();
             $recharOrderRes = 0;
             if (!empty($recharOrder)) {
-                $recharOrderRes = model('RecharOrder')->update(['status' => -1,$where]);
+                $recharOrderRes = model('RecharOrder')->update(['status' => -1],$where);
             }
             $result['data'] = $recharOrderRes;
         } catch (Exception $e) {