Browse Source

去掉高教卫健提示补充资料

sugangqiang 1 năm trước cách đây
mục cha
commit
ff89ac2b52
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      app/common.php

+ 5 - 1
app/common.php

@@ -383,7 +383,11 @@ function chkEnterpriseFull($ep) {
                     $checkEnterpriseFullFields[] = "typeImg";
                 }
             } else {
-                $checkEnterpriseFullFields = ["imgurl", "beian"];
+                if (!in_array($ep["type"], [CommonConst::ENTERPRISE_WJ, CommonConst::ENTERPRISE_GJ])) {
+                    $checkEnterpriseFullFields = ["bankCard", "bankNetwork", "bank", "imgurl", "bankImg", "beian"];
+                } else {
+                    $checkEnterpriseFullFields = [];
+                }
             }
             break;
         case 1: