...
|
...
|
@@ -47,7 +47,6 @@ class VolunteerModel extends Model |
|
|
$map['user_id']=$userId;
|
|
|
$this->where($map)->setInc('work_time',$time);
|
|
|
/*添加团队工时*/
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -63,7 +62,7 @@ class VolunteerModel extends Model |
|
|
if (empty($user)){
|
|
|
return;
|
|
|
}
|
|
|
$userInfo['avatar']=$user['photo'];
|
|
|
$userInfo['avatar']=$user['photo'] ;
|
|
|
$userInfo['name']=$user['name'];
|
|
|
$userInfo['level']=$user['level'];
|
|
|
$userInfo['work_time']=$user['work_time'];
|
...
|
...
|
|