huangjiajun 1 month ago
parent
commit
fcd734a24b
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

@@ -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


Loading…
Cancel
Save