seven 1 settimana fa
parent
commit
2d66610932
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Services/GameplayRuleService.php

+ 1 - 1
app/Services/GameplayRuleService.php

@@ -183,7 +183,7 @@ class GameplayRuleService extends BaseService
     public static function validateInput($input)
     {
          // 获取所有玩法
-        $allRules = self::model()::pluck('keywords')->toArray();
+        $allRules = self::model()::pluck('keywords');
         
 
         // 玩法正则(防止玩法里有特殊符号出错)