|
|
|
@ -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
|
|
|
|
|
}
|
|
|
|
|