Ver Fonte

会员升级

Kirin há 1 ano atrás
pai
commit
a8c46d6a60
1 ficheiros alterados com 1 adições e 1 exclusões
  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);