Przeglądaj źródła

名字允许出现重复

shish 3 lat temu
rodzic
commit
9160bca0fa
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app-ghs/controllers/CustomController.php

+ 1 - 1
app-ghs/controllers/CustomController.php

@@ -182,7 +182,7 @@ class CustomController extends BaseController
             }
             $has = SjClass::getByCondition(['name' => $name]);
             if (!empty($has)) {
-                util::fail($name . ' 这个名称已经被别人使用了');
+                //util::fail($name . ' 这个名称已经被别人使用了');
             }
             if (stringUtil::getWordNum($name) > 8) {
                 util::fail('名称不能超过8个汉字');