|
|
@@ -71,7 +71,7 @@ func AgentGoodsCopy(c *gin.Context) { |
|
|
|
defer sess.Close() |
|
|
|
sess.Begin() |
|
|
|
var goods = make([]model.CommunityTeamGoods, 0) |
|
|
|
sess.In("id", strings.Split(arg["ids"], ",")).Get(&goods) |
|
|
|
sess.In("id", strings.Split(arg["ids"], ",")).Find(&goods) |
|
|
|
for _, v := range goods { |
|
|
|
id := v.Id |
|
|
|
v.Id = 0 |
|
|
|