wupengfei 2 lat temu
rodzic
commit
4d9fdf58eb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      config/database.php

+ 1 - 1
config/database.php

@@ -37,5 +37,5 @@ return [
     // 前缀
     'prefix'      => 'dd_',
     // 返回类型
-    'resultset_type'      => 'array',
+    'resultset_type'      => 'think\Collection',
 ];