chuweiqiang 1 年之前
父节点
当前提交
9b6e5a4f5e
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/data/controller/api/auth/DemandLabor.php

+ 3 - 0
app/data/controller/api/auth/DemandLabor.php

@@ -58,6 +58,9 @@ class DemandLabor extends Auth
         switch ($data['type']){
             case 1:
                 $salary = $data['salary'];
+                if($data['schooling'] == '不限'){
+                    $data['schooling'] = '';
+                }
                 $schooling = $data['schooling'];
                 $list = DataRecruitment::mk()
                     ->where('is_del',1)