Procházet zdrojové kódy

超时管理调整

zhangxiaobin před 1 rokem
rodič
revize
6735b40fac
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) {