소스 검색

社区非必填

linwu 2 년 전
부모
커밋
320a4453b6
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      app/admin/controller/Comjobs.php

+ 3 - 1
app/admin/controller/Comjobs.php

@@ -531,7 +531,9 @@ class Comjobs extends BaseController
         $item['aca112'] = $info['title'];
         $item['bcz002'] = $info['wtype'];
         $item['bcz017'] = $info['zwagall'];
-        $item['cae006'] = $info['community'];
+        if (!empty($info['community'])) {
+            $item['cae006'] = $info['community'];
+        }
         $item['cae007'] = $info['province'] . $info['city'] . $info['district'] . $info['address'];
         if (!empty($info['educationCode']['code'])) {
             $item['aac011'] = $info['educationCode']['code'];