...
|
...
|
@@ -62,6 +62,7 @@ class SecondController extends RestBaseController |
|
|
$list=$userModel->getListByLevel($star);
|
|
|
$return=[];
|
|
|
foreach ($list as $k=>$v){
|
|
|
$return[$k]['user_id']=$v['user_id'];
|
|
|
$return[$k]['name']=$v['name'];
|
|
|
$return[$k]['province']=$v['province'];
|
|
|
$return[$k]['work_time']=$v['work_time'];
|
...
|
...
|
@@ -71,6 +72,7 @@ class SecondController extends RestBaseController |
|
|
$list=$teamModel->getTeamList('work_total_time desc','');
|
|
|
if(!empty($list)){
|
|
|
foreach ($list as $k=>$v){
|
|
|
$return[$k]['team_id']=$v['id'];
|
|
|
$return[$k]['name']=$v['name'];
|
|
|
$return[$k]['work_time']=$v['work_total_time'];
|
|
|
}
|
...
|
...
|
|