浏览代码

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

sugangqiang 1 年之前
父节点
当前提交
ff89ac2b52
共有 1 个文件被更改,包括 5 次插入1 次删除
  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: