作者 唐旭辉

更新

@@ -28,6 +28,9 @@ func SyncBestshopOrder(message *sarama.ConsumerMessage) error { @@ -28,6 +28,9 @@ func SyncBestshopOrder(message *sarama.ConsumerMessage) error {
28 } 28 }
29 srv := syncOrderSrv.NewOrderInfoService(nil) 29 srv := syncOrderSrv.NewOrderInfoService(nil)
30 err = srv.SyncOrderFromBestshop(cmd) 30 err = srv.SyncOrderFromBestshop(cmd)
  31 + if err != nil {
31 e := fmt.Errorf("[Consumer][SyncBestshopOrder] %s", err) 32 e := fmt.Errorf("[Consumer][SyncBestshopOrder] %s", err)
32 return e 33 return e
  34 + }
  35 + return err
33 } 36 }