huangjiajun 2 週之前
父節點
當前提交
c000ba069d
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. +0
    -5
      app/store/hdl/hdl_login.go

+ 0
- 5
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"


Loading…
取消
儲存