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