Browse Source

修改后端-招聘 职位审核的验证

15313670163 1 tháng trước cách đây
mục cha
commit
92b727da50
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Controller/NewsController.php

+ 1 - 1
app/Controller/NewsController.php

@@ -1070,7 +1070,7 @@ class NewsController extends AbstractController
             $requireData,
             [
                 'id'=>'required',
-                'status' => 'required|integer|in:1,2,3',
+                'status' => 'required|integer|in:0,1,2',
             ], 
             [
                 'id.required' => 'id不能为空',