shish 2 anni fa
parent
commit
b047307c50
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      console/controllers/CustomController.php

+ 2 - 2
console/controllers/CustomController.php

@@ -172,8 +172,8 @@ class CustomController extends Controller
                     $transaction->rollBack();
                     continue;
                 }
-                if (stringUtil::getWordNum($shopName) > 8) {
-                    noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 添加失败,名称超过了8个汉字", '15280215347');
+                if (stringUtil::getWordNum($shopName) > 16) {
+                    noticeUtil::push("花店 {$shopName} 手机号 {$mobile} 添加失败,名称超过了16个汉字", '15280215347');
                     $transaction->rollBack();
                     continue;
                 }