master
parent
5ca3b2655f
commit
430e910afb
|
|
@ -321,6 +321,7 @@ class MobileApiController extends Controller
|
||||||
foreach ($carsByColor as $carColor => $carsOfColor) {
|
foreach ($carsByColor as $carColor => $carsOfColor) {
|
||||||
$carColor = UniModel::model('pipi_auto_colors')->find($carColor);
|
$carColor = UniModel::model('pipi_auto_colors')->find($carColor);
|
||||||
|
|
||||||
|
dd($carsOfColor);
|
||||||
$colorPath = $path;
|
$colorPath = $path;
|
||||||
if ($carsOfColor->first()->photo_id) {
|
if ($carsOfColor->first()->photo_id) {
|
||||||
$photo = UniModel::model('core_files')->find($carsOfColor->first()->photo_id);
|
$photo = UniModel::model('core_files')->find($carsOfColor->first()->photo_id);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue