|
|
@ -68,7 +68,7 @@ class Recovery extends Controller |
|
|
|
public function add(): Json |
|
|
|
public function add(): Json |
|
|
|
{ |
|
|
|
{ |
|
|
|
$imageIds = $this->request->post('image_ids'); |
|
|
|
$imageIds = $this->request->post('image_ids'); |
|
|
|
if ($imageIds && !is_array($imageIds)) { |
|
|
|
if (!is_array($imageIds)) { |
|
|
|
$imageIds = explode(',', $imageIds); |
|
|
|
$imageIds = explode(',', $imageIds); |
|
|
|
} |
|
|
|
} |
|
|
|
$shop_id = intval($this->request->post('shop_id')); |
|
|
|
$shop_id = intval($this->request->post('shop_id')); |
|
|
|