@ -31,12 +31,11 @@ class SyncGoodsToEs extends Command
$goodsService->batchCreateGoodsCategory($goods_id);
}
// try {
// $goodsService->batchCreateData();
// }catch (\Exception $e) {
// $output->writeln($e->getMessage());
// }
//$goodsService->batchCreateGoods();
try {
$goodsService->batchCreateData();
}catch (\Exception $e) {
$output->writeln($e->getMessage());