...
|
...
|
@@ -70,7 +70,7 @@ class VolunteerModel extends Model |
|
|
$userInfo['use_time']=$user['use_time']??0;
|
|
|
$userInfo['level_time']=$user['work_time']-$user['use_time'];
|
|
|
if ($user['status']==2){
|
|
|
if ($user['study_time']>10){
|
|
|
if ($user['study_time']>=5 && $user['work_time']>10){
|
|
|
$userInfo['status']='志愿者';
|
|
|
$userInfo['user_num']=$userId.$user['create_time'];
|
|
|
}
|
...
|
...
|
@@ -80,7 +80,7 @@ class VolunteerModel extends Model |
|
|
$userInfo['user_num']='';
|
|
|
}
|
|
|
|
|
|
if ($user['study_time']>=5 && $user['study_time']<10){
|
|
|
if ($user['study_time']>=5 && $user['work_time']<10){
|
|
|
$userInfo['status']='志愿者(待实习)';
|
|
|
$userInfo['user_num']='';
|
|
|
}
|
...
|
...
|
@@ -110,7 +110,7 @@ class VolunteerModel extends Model |
|
|
$return['remark']='审核中';
|
|
|
}
|
|
|
if ($user['status']==2){
|
|
|
if ($user['study_time']>10){
|
|
|
if ($user['study_time']>=5 && $user['work_time']>10){
|
|
|
$userInfo['status']='志愿者';
|
|
|
$userInfo['user_num']=$userId.$user['create_time'];
|
|
|
$return['code']=4;
|
...
|
...
|
@@ -124,7 +124,7 @@ class VolunteerModel extends Model |
|
|
$return['remark']='志愿者(待学习)';
|
|
|
}
|
|
|
|
|
|
if ($user['study_time']>=5 && $user['study_time']<10){
|
|
|
if ($user['study_time']>=5 && $user['work_time']<10){
|
|
|
$userInfo['status']='志愿者(待实习)';
|
|
|
$userInfo['user_num']='';
|
|
|
|
...
|
...
|
|