Commit af424dfe by hcy

label_op 操作按钮

parent c70c6bdd
Showing with 2 additions and 0 deletions
...@@ -363,6 +363,7 @@ func (qs *ZiyingService) ZyGoodsDetail(ctx context.Context, params RequestParams ...@@ -363,6 +363,7 @@ func (qs *ZiyingService) ZyGoodsDetail(ctx context.Context, params RequestParams
nowstock, _ := A.Get("stock") nowstock, _ := A.Get("stock")
var lySku = model.LySku{ var lySku = model.LySku{
GoodsId: goodsId, GoodsId: goodsId,
GoodsStatus: gjson.Get(info, "status").Int(),
Stock: gconv.Int64(nowstock), Stock: gconv.Int64(nowstock),
AbilityLevel: 2, AbilityLevel: 2,
StandardBrand: standardBrand, StandardBrand: standardBrand,
...@@ -370,6 +371,7 @@ func (qs *ZiyingService) ZyGoodsDetail(ctx context.Context, params RequestParams ...@@ -370,6 +371,7 @@ func (qs *ZiyingService) ZyGoodsDetail(ctx context.Context, params RequestParams
SpuId: gconv.String(spuId), SpuId: gconv.String(spuId),
ClassID1: gconv.Int(spuClassId1), ClassID1: gconv.Int(spuClassId1),
ClassID2: gconv.Int(spuClassId2), ClassID2: gconv.Int(spuClassId2),
LadderPrice: ladderPrice,
} }
A.Set("label_op", activityService.GetLabelOp(lySku)) A.Set("label_op", activityService.GetLabelOp(lySku))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment