Ver Fonte

超时管理调整

zhangxiaobin há 1 ano atrás
pai
commit
6735b40fac
1 ficheiros alterados com 1 adições e 1 exclusões
  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) {