|
@@ -1304,7 +1304,7 @@ class IndexController extends WebBaseController
|
|
|
DB::commit();
|
|
|
if ($operation == 2) {
|
|
|
$log = [
|
|
|
- 'type' => 4,
|
|
|
+ 'type' => 3,
|
|
|
'appoint_id' => $appoint_info->id,
|
|
|
'uid' => $uid,
|
|
|
'log' => '用户提交报名',
|
|
@@ -1318,6 +1318,13 @@ class IndexController extends WebBaseController
|
|
|
|
|
|
}
|
|
|
} else {
|
|
|
+ $log = [
|
|
|
+ 'type' => 4,
|
|
|
+ 'appoint_id' => $appoint_info->id,
|
|
|
+ 'uid' => $uid,
|
|
|
+ 'log' => '用户修改资料',
|
|
|
+ ];
|
|
|
+ RecruitAppointLog::create($log);
|
|
|
return ['status' => 1, 'msg' => '资料保存成功,请尽快完善并提交', 'data' => $appoint_info->id];
|
|
|
}
|
|
|
} catch (\Exception $e) {
|
|
@@ -1545,6 +1552,13 @@ class IndexController extends WebBaseController
|
|
|
}
|
|
|
//return ['status' => 1, 'msg' => '提交成功', 'data' => $result->id];
|
|
|
} else {
|
|
|
+ $log = [
|
|
|
+ 'type' => 4,
|
|
|
+ 'appoint_id' => $result->id,
|
|
|
+ 'uid' => $uid,
|
|
|
+ 'log' => '用户暂存资料',
|
|
|
+ ];
|
|
|
+ RecruitAppointLog::create($log);
|
|
|
return ['status' => 1, 'msg' => '资料保存成功,请尽快完善并提交', 'data' => $result->id];
|
|
|
}
|
|
|
|