shish 2 anni fa
parent
commit
ab6072af04
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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)) {
             util::fail('名称不能为空');
         }
-        if (stringUtil::getWordNum($name) > 15) {
-            util::fail('名称不能超过15个汉字');
+        if (stringUtil::getWordNum($name) > 18) {
+            util::fail('名称不能超过18个汉字');
         }
 
         $hasGhsList = GhsClass::getAllByCondition(['ownShopId' => $this->shopId], null, '*', null, true);