diff --git a/app/api/logic/LogisticsLogic.php b/app/api/logic/LogisticsLogic.php index ec0d0337..8c3f12f0 100644 --- a/app/api/logic/LogisticsLogic.php +++ b/app/api/logic/LogisticsLogic.php @@ -409,7 +409,7 @@ class LogisticsLogic extends BaseLogic // $courier = Company::field('company_name,user_id,master_name,master_phone')->where('id',$captain['company_id'])->find(); if(!$courier) return false; - return $courier; + return $courier->toArray(); } } \ No newline at end of file