|
|
@@ -141,7 +141,7 @@ func GetBaseInfo(c *gin.Context) { |
|
|
|
// @Param file formData file true "上传的文件" |
|
|
|
// @Success 200 {string} "success" |
|
|
|
// @Failure 400 {object} md.Response "具体错误" |
|
|
|
// @Router /api/comm/basicGet [POST] |
|
|
|
// @Router /api/comm/uploadFile [POST] |
|
|
|
func UploadFile(c *gin.Context) { |
|
|
|
// 单文件上传 |
|
|
|
file, err := c.FormFile("file") |
|
|
|