huangjiajun 2 semanas atrás
pai
commit
c000ba069d
1 arquivos alterados com 0 adições e 5 exclusões
  1. +0
    -5
      app/store/hdl/hdl_login.go

+ 0
- 5
app/store/hdl/hdl_login.go Ver arquivo

@@ -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"


Carregando…
Cancelar
Salvar