订单列表

parent 81a6c72b
Showing with 1 additions and 1 deletions
......@@ -250,7 +250,7 @@ class OrderService
}
$result = $res["data"];
$orderAddressArr = OrderAddressModel::whereIn("order_id", array_column($result, "order_id"))->get()->keyBy("order_id")->toArray(); //地址信息
$orderAddressArr = OrderAddressModel::where("order_address_type",1)->whereIn("order_id", array_column($result, "order_id"))->get()->keyBy("order_id")->toArray(); //地址信息
$temp = [];
foreach ($result as $k=>$v){
$order_id = $v["order_id"];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment