attachment feature #10

This commit is contained in:
life
2014-09-21 22:05:04 +08:00
parent ab242b10f2
commit c556ab59b5
26 changed files with 1197 additions and 135 deletions

View File

@ -189,7 +189,6 @@ func (this *FileService) CopyImage(userId, fileId, toUserId string) (bool, strin
if file.FileId == "" || file.UserId.Hex() != userId {
return false, ""
}
Log(file)
_, ext := SplitFilename(file.Name)
newFilename := NewGuid() + ext