From c5918b5103439eb876cb309d0176f0165c6b7d36 Mon Sep 17 00:00:00 2001 From: lqmac Date: Mon, 30 Oct 2023 23:46:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=96=E5=8D=95=E7=8A=B6=E6=80=81=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/User.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)