mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-11 18:24:17 +00:00
commit
f94f6306d5
@ -114,7 +114,9 @@ class Images extends AuthController
|
||||
if(empty($post['imageid'] ))
|
||||
Json::fail('还没选择要删除的图片呢?');
|
||||
foreach ($post['imageid'] as $v){
|
||||
self::deleteimganddata($v);
|
||||
if(!empty($v)){
|
||||
self::deleteimganddata($v);
|
||||
}
|
||||
}
|
||||
Json::successful('删除成功');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user