sugangqiang 2 years ago
parent
commit
776fa2a2eb
2 changed files with 6 additions and 2 deletions
  1. 3 1
      app/common.php
  2. 3 1
      app/enterprise/controller/Index.php

+ 3 - 1
app/common.php

@@ -323,7 +323,9 @@ function chkEnterpriseFull($ep) {
             if ($ep["type"] == 1) {
                 $checkEnterpriseFullFields = ["agencyType", "enterpriseTag", "enterpriseType", "bankCard", "bankNetwork", "bank", "imgurl", "bankImg", "beian"];
                 if ($ep["agencyType"] == 1) {
-                    $checkEnterpriseFullFields[] = ["industryFieldNew", "industryFieldOld", "domainImg"];
+                    $checkEnterpriseFullFields[] = "industryFieldNew";
+                    $checkEnterpriseFullFields[] = "industryFieldOld";
+                    $checkEnterpriseFullFields[] = "domainImg";
                 }
                 if (in_array($ep["enterpriseType"], ['guishang', 'gaoxinjishu', 'zhuanjingtexin'])) {
                     $checkEnterpriseFullFields[] = "typeImg";

+ 3 - 1
app/enterprise/controller/Index.php

@@ -25,7 +25,9 @@ class Index extends EnterpriseController {
                 if ($ep["type"] == 1) {
                     $checkEnterpriseFullFields = ["agencyType", "enterpriseTag", "enterpriseType", "bankCard", "bankNetwork", "bank", "imgurl", "bankImg", "beian"];
                     if ($ep["agencyType"] == 1) {
-                        $checkEnterpriseFullFields[] = ["industryFieldNew", "industryFieldOld", "domainImg"];
+                        $checkEnterpriseFullFields[] = "industryFieldNew";
+                        $checkEnterpriseFullFields[] = "industryFieldOld";
+                        $checkEnterpriseFullFields[] = "domainImg";
                     }
                     if (in_array($ep["enterpriseType"], ['guishang', 'gaoxinjishu', 'zhuanjingtexin'])) {
                         $checkEnterpriseFullFields[] = "typeImg";