From 93466c76cc4f451933e4c9c64c04643cb41c0e93 Mon Sep 17 00:00:00 2001 From: kanade <3136520963@qq.com> Date: Fri, 23 Oct 2020 18:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9F=AD=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/short/short.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/short/short.go b/app/controller/short/short.go index c2a9b4a..ea30507 100644 --- a/app/controller/short/short.go +++ b/app/controller/short/short.go @@ -45,7 +45,7 @@ func (s *Short) Publish(c *gin.Context) { back.Fail(c, err.Error()) return } - if args.TopicId <= 0 || args.GoodsId <= 0 || args.Content == "" || args.FileId == "" { + if args.GoodsId <= 0 || args.Content == "" || args.FileId == "" { back.Fail(c, "参数错误") return }