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{