interview back
This commit is contained in:
1 parent
ec8b002838
commit
6f7c497d80
17 files changed
+534
-3
No files matched your search
@@ -62,6 +62,7 @@ class ProfileController extends \yii\rest\Controller
|
||||
$model = new InterviewRequest();
|
||||
$model->attributes = \Yii::$app->request->post();
|
||||
$model->created_at = time();
|
||||
$model->user_id = \Yii::$app->user->id;
|
||||
if ($model->save()){
|
||||
return ['status' => 'success'];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user