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"