Authored by Gino Zhang

特征版本没有异常时才更新到zk

@@ -31,7 +31,8 @@ public class ProductIndexRebuildListener implements IYohoIndexRebuildListener, I @@ -31,7 +31,8 @@ public class ProductIndexRebuildListener implements IYohoIndexRebuildListener, I
31 31
32 @Override 32 @Override
33 public void afterRebuild(Exception exception) { 33 public void afterRebuild(Exception exception) {
34 - if (exception != null) { 34 + if (exception == null) {
  35 + // 没有异常时才更新到zk
35 productVectorFeatureLogicService.publishGenerateDate(); 36 productVectorFeatureLogicService.publishGenerateDate();
36 } 37 }
37 } 38 }