增加店主姓名字段
This commit is contained in:
parent
1a27668583
commit
73c7e2a558
@ -165,7 +165,7 @@ class LogisticsLogic extends BaseLogic
|
||||
//查找订单信息
|
||||
$order = Order::alias('s')
|
||||
->leftjoin('eb_merchant m', 'm.mer_id = s.mer_id')
|
||||
->field('s.real_name, s.user_phone,s.uid, s.user_address,s.user_address_code,s.logistics_code,m.mer_id,m.mer_name,m.mer_phone,m.mer_address,m.long,m.lat')
|
||||
->field('s.real_name,s.user_phone,s.uid, s.user_address,s.user_address_code,s.logistics_code,m.mer_id,m.mer_name,m.real_name as mer_user_name,m.mer_phone,m.mer_address,m.long,m.lat')
|
||||
->where('order_id', $params['order_id'])->where('order_sn', $params['order_sn'])->find();
|
||||
if(empty($order['user_address_code'])) return ['code'=>1, 'msg'=>'用户地址信息错误'];
|
||||
//匹配配送员
|
||||
@ -193,6 +193,7 @@ class LogisticsLogic extends BaseLogic
|
||||
'courier_id' => $courier,
|
||||
'shop_id' => $order['mer_id'],
|
||||
'shop_name' => $order['mer_name'],
|
||||
'shop_user' => $order['mer_user_name'],
|
||||
'shop_phone' => $order['mer_phone'],
|
||||
'shop_address' => $order['mer_address'],
|
||||
'shop_long' => $order['long'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user