From c000ba069d4e001f28df08b718f2334f376026b9 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 11 Sep 2025 11:27:59 +0800 Subject: [PATCH] 1 --- app/store/hdl/hdl_login.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/store/hdl/hdl_login.go b/app/store/hdl/hdl_login.go index fa70011..c727f28 100644 --- a/app/store/hdl/hdl_login.go +++ b/app/store/hdl/hdl_login.go @@ -51,11 +51,6 @@ func ImgReqUpload(c *gin.Context) { e.OutErr(c, e.ERR_INVALID_ARGS) return } - // 限制用户上传目录 - if _, ok := md2.FileUserDir[args.Dir]; !ok { - e.OutErr(c, e.ERR_FORBIDEN) - return - } scheme := "http" if c.Request.TLS != nil { scheme = "https"