修复订单地址显示错误

将订单列表中用户的地址信息从 $find 变量更改为 $order 变量,确保显示与订单关联的正确地址。
This commit is contained in:
mkm 2024-10-09 15:20:40 +08:00
parent 1f33cb3564
commit 9d0f09fe66

View File

@ -272,7 +272,7 @@ class StoreOrderController extends BaseAdminController
$item['subtitle'] = $item['oid'] . ' ' . convertStringToNumber($item['cart_num']) . '/' . $unit_name;
$item['store_name'] = $find['store_name'];
if ($order['uid']) {
$item['address'] = $find['real_name'] . ' ' . $find['user_address'];
$item['address'] = $order['real_name'] . ' ' . $order['user_address'];
} else {
$item['address'] = '无地址';
}