作者 邓超

优化

@@ -19,7 +19,7 @@ class listsSql { @@ -19,7 +19,7 @@ class listsSql {
19 19
20 20
21 21
22 - public static function update(\Lib\Db $db,$data,$where) { 22 + public static function update($db,$data,$where) {
23 if(is_array($where)){ 23 if(is_array($where)){
24 $where = dbWhere($where); 24 $where = dbWhere($where);
25 }elseif (is_numeric($where)) { 25 }elseif (is_numeric($where)) {