|
@@ -365,6 +365,7 @@ class SecondController extends RestBaseController |
|
@@ -365,6 +365,7 @@ class SecondController extends RestBaseController |
365
|
$volunteer=new VolunteerModel();
|
365
|
$volunteer=new VolunteerModel();
|
366
|
$volunteer->where('user_id',$user_id)->setInc('work_time',$class['work_time']);
|
366
|
$volunteer->where('user_id',$user_id)->setInc('work_time',$class['work_time']);
|
367
|
$volunteer->addWorkTime($user_id,$class['work_time']);
|
367
|
$volunteer->addWorkTime($user_id,$class['work_time']);
|
|
|
368
|
+ $volunteer->addStudyTime($user_id,$class['work_time']);
|
368
|
/*添加到完成*/
|
369
|
/*添加到完成*/
|
369
|
$UserPassModel=new UserPassModel();
|
370
|
$UserPassModel=new UserPassModel();
|
370
|
$UserPassModel->pass($user_id,$class_id);
|
371
|
$UserPassModel->pass($user_id,$class_id);
|