From 1e061b2ede8bafb6b98b0882e1252ded313cd62a Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Thu, 11 Jan 2024 15:21:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/project/controller/Project.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/application/project/controller/Project.php b/application/project/controller/Project.php index aa59090..02d92df 100755 --- a/application/project/controller/Project.php +++ b/application/project/controller/Project.php @@ -597,4 +597,13 @@ class Project extends BasicApi } + public function positioning_member($code,$date=''){ + if($date==''){ + $select=Db::name('positioning')->where(['member_code'=>$code])->whereTime('date','today')->column('positioning'); + }else{ + $select=Db::name('positioning')->where(['member_code'=>$code])->whereBetweenTime('date',$date)->column('positioning'); + } + $this->success('',$select); + + } }