seven 1 неделя назад
Родитель
Сommit
2d66610932
1 измененных файлов с 1 добавлено и 1 удалено
  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');
         
 
         // 玩法正则(防止玩法里有特殊符号出错)