|
|
@ -135,7 +135,7 @@ func QueryGoodsListBySalesVolume(c *gin.Context) {
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if p.SecondCategoryID == 0 && p.BrandID == 0 && len(p.Keyword) == 0 {
|
|
|
|
if p.SecondCategoryID == 0 && p.BrandID == 0 && len(p.Keyword) == 0 && p.ActivityID == 0 {
|
|
|
|
back.Fail(c, "参数不全")
|
|
|
|
back.Fail(c, "参数不全")
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -163,7 +163,7 @@ func QueryGoodsListByDiscountPrice(c *gin.Context) {
|
|
|
|
back.Fail(c, err.Error())
|
|
|
|
back.Fail(c, err.Error())
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if p.SecondCategoryID == 0 && p.BrandID == 0 && len(p.Keyword) == 0 {
|
|
|
|
if p.SecondCategoryID == 0 && p.BrandID == 0 && len(p.Keyword) == 0 && p.ActivityID == 0 {
|
|
|
|
back.Fail(c, "参数不全")
|
|
|
|
back.Fail(c, "参数不全")
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|