This commit is contained in:
mkm 2024-01-11 15:21:31 +08:00
parent 5b10068312
commit 1e061b2ede

View File

@ -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);
}
}