From 257ca56e3e8c18b8a9028578429e726e4ae08c1f Mon Sep 17 00:00:00 2001 From: dustoair <107600816+dustoair@users.noreply.github.com> Date: Fri, 19 Aug 2022 12:43:01 +0800 Subject: [PATCH] url --- controller/image.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/image.go b/controller/image.go index 4c2a611..491d290 100644 --- a/controller/image.go +++ b/controller/image.go @@ -52,6 +52,7 @@ func (a *ImageController) UploadNiupic(c *gin.Context) { resultRes.Error(1, "图片上传失败") } os.Remove(subfilepath) + log.Println("url:", url) c.JSON(200, gin.H{ "code": 200, "msg": "ok",