zhuchengjie 3 년 전
부모
커밋
80db6059fb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) : [];
             }