更新
This commit is contained in:
parent
6cc0b93c67
commit
765f78cfaf
@ -581,11 +581,13 @@ class Project extends BasicApi
|
||||
}
|
||||
$data=[];
|
||||
foreach($select as $k=>$v){
|
||||
$find=Db::name('positioning')->where(['member_code'=>$v['member_code']])->order('date desc')->field('positioning,date')->find();
|
||||
$data[]=[
|
||||
'name'=>$v['name'],
|
||||
'avatar'=>$v['avatar'],
|
||||
'member_code'=>$v['member_code'],
|
||||
'positioning'=>Db::name('positioning')->where(['member_code'=>$v['member_code']])->order('date desc')->value('positioning'),
|
||||
'positioning'=>$find['positioning']??'',
|
||||
'date'=>$find['date']??'',
|
||||
];
|
||||
}
|
||||
$this->success('',$data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user