Ver código fonte

名称限制

shish 3 anos atrás
pai
commit
c3672aaea7
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app-hd/controllers/ApplyController.php

+ 1 - 1
app-hd/controllers/ApplyController.php

@@ -109,7 +109,7 @@ class ApplyController extends BaseController
             if (stringUtil::getWordNum($shopName) > 8) {
             if (stringUtil::getWordNum($shopName) > 8) {
                 util::fail('名称不能超过8个汉字');
                 util::fail('名称不能超过8个汉字');
             }
             }
-            $arr = ['斗南鲜花', '惠雅鲜花', '纯彩花艺', '泉城鲜花', '杭州斗南', '惠雅'];
+            $arr = ['斗南鲜花', '惠雅鲜花', '纯彩花艺', '泉城鲜花', '杭州斗南', '惠雅', '国恋', '花悠星', '勇记'];
             foreach ($arr as $it) {
             foreach ($arr as $it) {
                 if (strstr($shopName, $it) != null) {
                 if (strstr($shopName, $it) != null) {
                     util::fail('花店名称已经存在,请换个名称');
                     util::fail('花店名称已经存在,请换个名称');