ソースを参照

更新语法错误

sandm 1 年間 前
コミット
5d5657b1cf
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/Http/Controllers/Web/Recruit/IndexController.php

+ 1 - 1
app/Http/Controllers/Web/Recruit/IndexController.php

@@ -1017,7 +1017,7 @@ class IndexController extends WebBaseController
         $forms = explode(',', $recruit['forms']);
         if(in_array('expand_special',$forms)){
             $special = $request->input('special');
-            if($special['point_apply'] && ($special['condition'] == '' || count($special['condition']) == 0)){
+            if($special['point_apply'] && ($special['condition'] == '' ) || count($special['condition']) == 0){
                 return response()->json(['status' => 0,'msg' => '加分条件不能为空']);
             }
         }