Sfoglia il codice sorgente

超时管理调整

zhangxiaobin 1 anno fa
parent
commit
6735b40fac
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) {