|
|
@ -35,7 +35,7 @@ class ImsCjdcOrder extends Model |
|
|
$show_refund = []; |
|
|
$show_refund = []; |
|
|
foreach ($orders as &$or) { |
|
|
foreach ($orders as &$or) { |
|
|
if (substr($or['store']['logo'], 0, 4) != 'http') { |
|
|
if (substr($or['store']['logo'], 0, 4) != 'http') { |
|
|
$or['store']['logo'] = env('OSS_IMG_HOST') . '/' . $or['store']['logo'].'?thumbnail_28'; |
|
|
|
|
|
|
|
|
$or['store']['logo'] = env('OSS_IMG_HOST') . '/' . $or['store']['logo'].'!thumbnail_100_q50'; |
|
|
} |
|
|
} |
|
|
$or['goods'] = LanzuOrderGoods::where('order_id', $or['id'])->get()->toArray(); |
|
|
$or['goods'] = LanzuOrderGoods::where('order_id', $or['id'])->get()->toArray(); |
|
|
foreach ($or['goods'] as $goods){ |
|
|
foreach ($or['goods'] as $goods){ |
|
|
|