|
|
@@ -252,6 +252,8 @@ func GoodsSave(c *gin.Context) { |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
sess.Where("goods_id=?", goods.Id).Delete(&model.CommunityTeamSku{}) |
|
|
|
|
|
|
|
skuModelList := make([]*model.CommunityTeamSku, 0, len(args.SkuList)) |
|
|
|
for _, item := range args.SkuList { |
|
|
|
skuModelList = append(skuModelList, &model.CommunityTeamSku{ |
|
|
|