shish 2 년 전
부모
커밋
ca52b5f6b8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app-ghs/controllers/GhsController.php

+ 2 - 2
app-ghs/controllers/GhsController.php

@@ -27,8 +27,8 @@ class GhsController extends BaseController
         if (empty($name)) {
         if (empty($name)) {
             util::fail('名称不能为空');
             util::fail('名称不能为空');
         }
         }
-        if (stringUtil::getWordNum($name) > 18) {
-            util::fail('名称不能超过18个汉字');
+        if (stringUtil::getWordNum($name) > 25) {
+            util::fail('名称不能超过25个汉字');
         }
         }
 
 
         $hasGhsList = GhsClass::getAllByCondition(['ownShopId' => $this->shopId], null, '*', null, true);
         $hasGhsList = GhsClass::getAllByCondition(['ownShopId' => $this->shopId], null, '*', null, true);