1
0
Эх сурвалжийг харах

修改工程师面试接口

dongxiaoqin 1 жил өмнө
parent
commit
0393260cf1

+ 1 - 1
app/workerapi/controller/InterviewController.php

@@ -123,7 +123,7 @@ class InterviewController extends BaseApiController
             $info = new MasterWorkerInterview();
             $info->worker_register_id = $worker_register_id;
         } else if ($info->status > 0) {
-            return $this->fail('您已提交过面试题,请勿重复提交');
+            return $this->fail('您已提交过面试题,请勿重复提交',['has_next' => 0,'is_success' => $info->status == 1 ? 1 : 0, 'list' => []]);
         }
 
         $msg = '操作成功';