Commit e30e7e5c by mushishixian

修复bug

parent b72a1dab
Showing with 2 additions and 2 deletions
......@@ -44,10 +44,10 @@ func (ls *LyService) GetActivityPrice(sku model.LySku, suffix string, power Powe
//获取redis里面存储的活动相关信息
brandIdArray := gjson.Get(activityInfo, "brand_id").Array()
var brandIds []int
var brandIds []int64
for _, brandId := range brandIdArray {
if brandId.String() != "" {
brandIds = append(brandIds, int(brandId.Int()))
brandIds = append(brandIds, brandId.Int())
}
}
goodsNameArray := gjson.Get(activityInfo, "goods_name").Array()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment