瀏覽代碼

会员升级

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);