和睦和谐

This commit is contained in:
mkm 2024-01-11 15:36:40 +08:00
parent ae0510007f
commit 0e0a80fc7c

View File

@ -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==''){ if($date==''){
$select=Db::name('positioning')->where(['member_code'=>$code])->whereTime('date','today')->column('positioning'); $select=Db::name('positioning')->where(['member_code'=>$code])->whereTime('date','today')->column('positioning');
}else{ }else{