feat: file manage

This commit is contained in:
zhangwenjian committed 2020-08-23 20:49:06 +08:00
1 parent b9d3483ba3
commit 128e34ab04
11 files changed
+544 -44

No files matched your search

-3
View File
@@ -20,9 +20,6 @@ import (
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": -1, "message": "添加失败"}"
// @Router /api/v1/public/uploadFile [post]
func UploadFile(c *gin.Context) {
tag,_ := c.GetPostForm("type")
urlPerfix := fmt.Sprintf("http://%s/",c.Request.Host)