Kirin hai 1 ano
pai
achega
a8c46d6a60
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/controller/api/v1/PublicController.php

+ 1 - 1
app/controller/api/v1/PublicController.php

@@ -62,7 +62,7 @@ class PublicController extends BaseController
     public function test()
     {
         $list = UserIntegral::where('add_time', 'between', [1705766400, 1705852800])->where('extract_sum_real', null)->where('type', 0)
-            ->group('link_id')->field('link_id,count(id)')->select();
+            ->group('link_id')->field('link_id,count(id)')->select()->toArray();
         var_dump($list);
 
         $this->dealOrderIntegral(StoreOrder::get(383), 33.98630144);