Commit f70fcdfe by hcy

自营交期 1-3工作日

parent 7ce618a2
Showing with 6 additions and 6 deletions
......@@ -133,7 +133,7 @@ func (qs *ZiyingService) ZyGoodsDetail(ctx *gin.Context, goodsIds []string, ch c
A.Set("packing", gjson.Get(info, "packing").Int()) //
A.Set("goods_unit", gjson.Get(info, "goods_unit").Int()) //
A.Set("goods_brief", gjson.Get(info, "goods_brief").String()) //
A.Set("ability_level",2)
A.Set("ability_level", 2)
moq := gjson.Get(info, "moq").Int()
mpq := gjson.Get(info, "mpq").Int()
......@@ -178,11 +178,11 @@ func (qs *ZiyingService) ZyGoodsDetail(ctx *gin.Context, goodsIds []string, ch c
A.Set("self_supplier_type", gjson.Get(info, "self_supplier_type").Int()) //
//处理货期
cnDeliveryTime := gjson.Get(info, "cn_delivery_time").String()
if cnDeliveryTime == "" {
cnDeliveryTime = "3-7工作日"
}
A.Set("cn_delivery_time", cnDeliveryTime) // 货期
//cnDeliveryTime := gjson.Get(info, "cn_delivery_time").String()
//if cnDeliveryTime == "" {
// cnDeliveryTime = "3-7工作日"
//}
A.Set("cn_delivery_time", "1-3工作日") // 货期
//查询品牌名称(作废,现在改成读联营的品牌库,之前有关联自营商品到spu_id)
brand_id := gjson.Get(info, "brand_id").Int()
......
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