This website works better with JavaScript.
Home
Explore
Help
Sign In
huangjiajun
/
community_team
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
1
master
huangjiajun
1 month ago
parent
42dab97608
commit
6bfe70a415
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/store/svc/svc_agent_goods.go
+ 1
- 0
app/store/svc/svc_agent_goods.go
View File
@@ -89,6 +89,7 @@ func AgentGoodsCopy(c *gin.Context) {
sess.Where("goods_id=?", id).Get(&goodsSku)
for k1 := range goodsSku {
goodsSku[k1].SkuId = 0
goodsSku[k1].GoodsId = v.Id
goodsSku[k1].Stock = 0
}
_, err = sess.Insert(&goodsSku)
Write
Preview
Loading…
Cancel
Save