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)) {
             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);