Update controllers/ListManagementController.php

This commit is contained in:
dongpd 2023-07-05 03:22:38 +00:00
parent 7c8014ca87
commit d8fe80034e

View File

@ -297,7 +297,7 @@ class ListManagementController extends Controller {
$model = $this->findModel($data['id']); $model = $this->findModel($data['id']);
$images = json_decode($model->image, true); $images = json_decode($model->image, true);
foreach ($images as $k => $v) { foreach ($images as $k => $v) {
unlink("/var/www/html/BiFace_Server_Lite/web/data/uploads/face/" . $v['url']); @unlink("/var/www/html/BiFace_Server_Lite/web/data/uploads/face/" . $v['url']);
} }
common::updateFeature([ common::updateFeature([
"cmd" => "delete", "cmd" => "delete",