wupengfei 2 anni fa
parent
commit
4d9fdf58eb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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',
 ];