Commit 2127a522 by mushishixian

Merge branch 'ysx-测试分支-20230419' into dev

parents 046b2f64 d5754a8c
Showing with 12 additions and 12 deletions
...@@ -17,17 +17,17 @@ var GoodsTags = map[int]string{ ...@@ -17,17 +17,17 @@ var GoodsTags = map[int]string{
} }
var StockInfoSupplierMap = map[int64]string{ var StockInfoSupplierMap = map[int64]string{
6: "element14", // 6: "element14",
7: "digikey", 7: "digikey",
14: "mouser", // 14: "mouser",
21: "rs", // 21: "rs",
1672: "master", // 1672: "master",
} }
var StockInfoSupplierIds = []int64{ var StockInfoSupplierIds = []int64{
6, // 6,
7, 7,
14, // 14,
21, // 21,
1672, // 1672,
} }
...@@ -124,9 +124,9 @@ func (ls *LyService) LyGoodsDetail(ctx *gin.Context, goodsIds []string, ch chan ...@@ -124,9 +124,9 @@ func (ls *LyService) LyGoodsDetail(ctx *gin.Context, goodsIds []string, ch chan
sku.StandardBrand = ls.GetStandardBrand(brandId) sku.StandardBrand = ls.GetStandardBrand(brandId)
//处理过期,todo 2022.7.13 专卖没有过期 //处理过期,todo 2022.7.13 专卖没有过期
if sku.SupplierId != 17 && gjson.Get(skuStr, "is_expire").Int() != 0 { // if sku.SupplierId != 17 && gjson.Get(skuStr, "is_expire").Int() != 0 {
sku.LadderPrice = nil // sku.LadderPrice = nil
} // }
//处理活动 //处理活动
sku.AcType = 0 sku.AcType = 0
......
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