From 0e0a80fc7cbda58d89e336a35e6bc755886d32c2 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Thu, 11 Jan 2024 15:36:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=92=8C=E7=9D=A6=E5=92=8C=E8=B0=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/project/controller/Project.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/application/project/controller/Project.php b/application/project/controller/Project.php index 0d8e258..48fb54d 100755 --- a/application/project/controller/Project.php +++ b/application/project/controller/Project.php @@ -597,7 +597,12 @@ class Project extends BasicApi } - public function positioning_member($code,$date=''){ + public function positioning_member(){ + $code=Request::post('code'); + $date=Request::post('date'); + if(!$code || $code==''){ + $this->error('参数错误'); + } if($date==''){ $select=Db::name('positioning')->where(['member_code'=>$code])->whereTime('date','today')->column('positioning'); }else{