瀏覽代碼

社区非必填

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'];