zhuchengjie 3 years ago
parent
commit
80db6059fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Controllers/CompanyAuth/AppController.php

+ 1 - 1
src/Controllers/CompanyAuth/AppController.php

@@ -245,7 +245,7 @@ class AppController extends Controller
         } else {
             $service = new OrderService;
             $result = $service->companyAuthOrders(compact('channel_id', 'status', 'begin_date', 'end_date'));
-            $appIds = OfficialAccount::where('distribution_channel_id',$channel_id)->get()->pluck('app_id')->toArray();
+            $appIds = OfficialAccount::where('distribution_channel_id',$channel_id)->get()->pluck('appid')->toArray();
             foreach($result as $key => $item){
                 $result[$key]['app_ids'] = count($appIds) > 0 ? array_filter($appIds) : [];
             }