|
@@ -173,6 +173,7 @@ class MtController extends Controller
|
|
|
$newShopImg[] = $shortUrl;
|
|
$newShopImg[] = $shortUrl;
|
|
|
}
|
|
}
|
|
|
$current->shopImg = json_encode($newShopImg);
|
|
$current->shopImg = json_encode($newShopImg);
|
|
|
|
|
+ $current->cover = $newShopImg[0];
|
|
|
$current->save();
|
|
$current->save();
|
|
|
echo $current->name . " ok \n";
|
|
echo $current->name . " ok \n";
|
|
|
}
|
|
}
|