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

@@ -78,7 +78,7 @@ func AgentGoodsCopy(c *gin.Context) {
v.Stock = 0 v.Stock = 0
v.Uid = user.Info.Uid v.Uid = user.Info.Uid
v.StoreType = 1 v.StoreType = 1
v.Cid = 0
v.Cid = utils.StrToInt(arg["cid"])
_, err := sess.Insert(&v) _, err := sess.Insert(&v)
if err != nil { if err != nil {
sess.Rollback() sess.Rollback()


Loading…
Cancel
Save