修复删除挂载点失败的问题

This commit is contained in:
2026-06-04 10:37:37 +08:00
parent b85c368f8d
commit edeb90ebcd
4 changed files with 14 additions and 6 deletions

View File

@@ -156,9 +156,9 @@ class HomeController extends Controller {
}
// 根据删除结果返回响应
if (result) {
setResponse(ctx, 200, '修改挂载点名称成功', "none");
setResponse(ctx, 200, '删除挂载点成功', "none");
} else {
setResponse(ctx, 404, '修改挂载点名称失败', "none");
setResponse(ctx, 404, '删除挂载点失败', "none");
}
} catch (error) {
// 记录异常日志