Commit d1d7af2a by mushishixian

fix

parent 76807e09
Showing with 1 additions and 1 deletions
...@@ -43,7 +43,7 @@ func SaveSkuModeFromES() (err error) { ...@@ -43,7 +43,7 @@ func SaveSkuModeFromES() (err error) {
goodsLabel := gjson.Get(result, "goods_label").Int() goodsLabel := gjson.Get(result, "goods_label").Int()
//fmt.Println("供应商名称 : "+supplier.SupplierName+" goods_label为 : ", goodsLabel) //fmt.Println("供应商名称 : "+supplier.SupplierName+" goods_label为 : ", goodsLabel)
if int(goodsLabel) != 0 { if int(goodsLabel) != 0 {
//fmt.Println(supplier.SupplierId, goodsLabel) fmt.Println(supplier.SupplierId, goodsLabel)
err = dao.UpdateSupplierSkuMode(supplier.SupplierId, int(goodsLabel)) err = dao.UpdateSupplierSkuMode(supplier.SupplierId, int(goodsLabel))
if err != nil { if err != nil {
return err return err
......
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