修复图片回收批量删除失败

This commit is contained in:
icret
2022-03-17 02:19:40 +08:00
parent 1ccb28e2e9
commit a4c3fe3f89
4 changed files with 100 additions and 94 deletions

View File

@@ -124,15 +124,16 @@ if (isset($_POST['delDir'])) {
type: "success", // 定义颜色主题
icon: "ok-sign" // 定义消息图标
}).show();</script>';
header("refresh:1;"); // 1s后刷新当前页面
} else {
echo '
<script> new $.zui.Messager("删除失败! ", {
type: "danger", // 定义颜色主题
icon: "exclamation-sign" // 定义消息图标
}).show();</script>';
header("refresh:1;"); // 1s后刷新当前页面
}
header("refresh:1;"); // 1s后刷新当前页面
}
// 监黄恢复图片
@@ -728,7 +729,7 @@ if (isset($_GET['recycle_reimg'])) {
</table>
</div>
<form class="form-inline" action="<?php $_SERVER['SCRIPT_NAME']; ?>" method="post">
<input class="form-control" type="hidden" name="delDir" value="/suspic/" readonly="">
<input class="form-control" type="hidden" name="delDir" value="/recycle/" readonly="">
<button class="btn btn-mini btn-danger"><?php echo $cache_num; ?>张 | 删除全部</button>
</form>
</div>