|
|
@@ -80,6 +80,8 @@ public class ActivityUtil {
|
|
|
consumer.accept(JSONUtil.toBean(config, ActivityOfFullReductionDTO.class));
|
|
|
} else if (ActivityTypeEnum.GLOBAL.getTypeCode().equals(type)) {
|
|
|
consumer.accept(JSONUtil.toBean(config, ActivityOfGlobalDiscountDTO.class));
|
|
|
+ } else if (ActivityTypeEnum.NORMAL.getTypeCode().equals(type)){
|
|
|
+ // not to do
|
|
|
} else {
|
|
|
throw new SqxException("活动类型不存在");
|
|
|
}
|