diff --git a/application/api/controller/User.php b/application/api/controller/User.php index 33de1b7..f574472 100755 --- a/application/api/controller/User.php +++ b/application/api/controller/User.php @@ -690,7 +690,7 @@ class User extends Api ->update(['status' => 1,"updatetime" => time()]); Db::name('order') - ->whereTime('createtime', 'today') + //->whereTime('createtime', 'today') ->where('warehouse_id', $info['warehouse_id']) ->where('user_id', $user['id']) ->where('order_type', 1) @@ -725,7 +725,7 @@ class User extends Api ->update(['status' => 1,"updatetime" => time()]); Db::name('order') - ->whereTime('createtime', 'today') + //->whereTime('createtime', 'today') ->where('warehouse_id', $info['warehouse_id']) ->where('user_id', $user['id']) ->where('order_type', 1)