liuxiaolong
2019-08-20 2d38adf74afeebf5c13fea761287836c4e373736
fix upload
1个文件已修改
1 ■■■■ 已修改文件
controllers/fileController.go 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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 {