huangjiajun 1 month ago
parent
commit
1dd015b4d7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/store/svc/svc_agent_goods.go

+ 1
- 1
app/store/svc/svc_agent_goods.go View File

@@ -86,7 +86,7 @@ func AgentGoodsCopy(c *gin.Context) {
return return
} }
var goodsSku = make([]model.CommunityTeamSku, 0) var goodsSku = make([]model.CommunityTeamSku, 0)
sess.Where("goods_id=?", id).Get(&goodsSku)
sess.Where("goods_id=?", id).Find(&goodsSku)
for k1 := range goodsSku { for k1 := range goodsSku {
goodsSku[k1].SkuId = 0 goodsSku[k1].SkuId = 0
goodsSku[k1].GoodsId = v.Id goodsSku[k1].GoodsId = v.Id


Loading…
Cancel
Save