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