Selaa lähdekoodia

更新一些修改

sandm 2 vuotta sitten
vanhempi
commit
ef9e316be8

+ 2 - 2
app/admin/controller/Enterprise.php

@@ -190,8 +190,8 @@ class Enterprise extends AdminController {
                 return json(["msg" => '请填写审核意见!']);
             }
 
-            if (strlen($checkMsg) > 200) {
-                return json(["msg" => '审核意见最多200个字符!']);
+            if (strlen($checkMsg) > 1000) {
+                return json(["msg" => '审核意见最多1000个字符!']);
             }
         }
         try {

+ 2 - 2
app/admin/controller/EnterpriseChangeRecord.php

@@ -403,8 +403,8 @@ class EnterpriseChangeRecord extends AdminController {
         if ($checkState == 3 && !$files && !$fields) {
             return json(["msg" => '审核驳回时,需要选择可修改的字段或者附件!', 'code' => 500]);
         }
-        if (\StrUtil::isNotEmpAndNull($checkMsg) && strlen($checkMsg) > 200) {
-            return json(["msg" => '审核意见最多200个字符!', 'code' => 500]);
+        if (\StrUtil::isNotEmpAndNull($checkMsg) && strlen($checkMsg) > 1000) {
+            return json(["msg" => '审核意见最多1000个字符!', 'code' => 500]);
         }
         if ($ecr['checkState'] != 2 && $ecr['checkState'] != 3 && $ecr['checkState'] != 5) {
             return json(["msg" => '不在审核范围内!', 'code' => 500]);

+ 2 - 2
app/enterprise/validate/TalentInfo.php

@@ -28,8 +28,8 @@ class TalentInfo extends Validate {
         "pre_import_type" => "between:1,2",
         "salary_pay_way" => "between:1,2",
         "salary_pay_month" => "checkRangeDate:salary_pay_month",
-        "experience" => "max:200",
-        "education" => "max:200",
+        "experience" => "max:1000",
+        "education" => "max:1000",
         "phone" => "mobile",
         "email" => "email",
         "highest_degree" => "checkInSelect:highest_degree,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21",