소스 검색

会员升级

Kirin 1 년 전
부모
커밋
a8c46d6a60
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);