去除水印
This commit is contained in:
parent
27c0a750d0
commit
4f8a2bb90c
@ -81,10 +81,10 @@ func (b *Editor) EditorUpload(c *gin.Context) {
|
||||
}
|
||||
|
||||
// 添加图片水印
|
||||
fileBytes, err = utils.AddWatermarkToImage(fileBytes, "./resource/3061726102564.png")
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
//fileBytes, err = utils.AddWatermarkToImage(fileBytes, "./resource/3061726102564.png")
|
||||
//if err != nil {
|
||||
// return
|
||||
//}
|
||||
|
||||
fileType := "jpg"
|
||||
if file.Filename != "" {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user