|
|
@ -34,6 +34,9 @@ class MyDetailPage extends LazyRenderable |
|
|
->where('order_main_id',$order['id'])->get()->toArray(); |
|
|
->where('order_main_id',$order['id'])->get()->toArray(); |
|
|
if (count($orders)){ |
|
|
if (count($orders)){ |
|
|
foreach ($orders as &$or){ |
|
|
foreach ($orders as &$or){ |
|
|
|
|
|
if (substr($or['store']['logo'],0,4)!='http'){ |
|
|
|
|
|
$or['store']['logo'] = env('IMG_HOST').'/'.$or['store']['logo']; |
|
|
|
|
|
} |
|
|
$or['goods'] = LanzuOrderGoods::where('order_id',$or['id'])->get()->toArray(); |
|
|
$or['goods'] = LanzuOrderGoods::where('order_id',$or['id'])->get()->toArray(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|