wupengfei 2 anos atrás
pai
commit
4d9fdf58eb
1 arquivos alterados com 1 adições e 1 exclusões
  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',
 ];