master
parent
6c5b7f56df
commit
e0f426ce54
|
|
@ -324,9 +324,6 @@ class MobileApiController extends Controller
|
|||
$colorPath = $path;
|
||||
if ($carsOfColor->first()->photo_id) {
|
||||
$photo = UniModel::model('core_files')->find($carsOfColor->first()->photo_id);
|
||||
if (is_null($photo)) {
|
||||
dd($carsOfColor);
|
||||
}
|
||||
$colorPath = url('api/files/file/' . ltrim($photo->path, '/'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue