|
@@ -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) : [];
|
|
|
}
|