From 2d38adf74afeebf5c13fea761287836c4e373736 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期二, 20 八月 2019 15:57:18 +0800
Subject: [PATCH] fix upload
---
controllers/fileController.go | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/controllers/fileController.go b/controllers/fileController.go
index c5a1c8b..adb0f1d 100644
--- a/controllers/fileController.go
+++ b/controllers/fileController.go
@@ -548,7 +548,6 @@
func uploadFileReturnAddr(file multipart.File, filename string, tableId string) (string, map[string]interface{}, error) {
defer file.Close()
- field := ""
// weedfs 涓婁紶
fileBytes, err := ioutil.ReadAll(file)
if err !=nil {
--
Gitblit v1.8.0