|
@@ -180,7 +180,7 @@ class WholeController extends Curd
|
|
|
|
|
|
$express = OrderExpress::where('join_express_order_id', $orderId)->first();
|
|
$express = OrderExpress::where('join_express_order_id', $orderId)->first();
|
|
$premises = '';
|
|
$premises = '';
|
|
- if($express->order_express_type == '自提'){
|
|
|
|
|
|
+ if($express && $express->order_express_type == '自提'){
|
|
$premises = $express->order_express_company;
|
|
$premises = $express->order_express_company;
|
|
}
|
|
}
|
|
// if (!empty($express->order_express_code)){
|
|
// if (!empty($express->order_express_code)){
|