feat: file manage
This commit is contained in:
1 parent
b9d3483ba3
commit
128e34ab04
11 files changed
+544
-44
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user