pull/1/head
wanghousheng 12 months ago
parent dfc2c35374
commit 11999ebb9d
  1. 2
      app/api/controller/Recovery.php

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

Loading…
Cancel
Save