新客立减修改
This commit is contained in:
@@ -122,6 +122,7 @@ public class MkShopConsumeDiscountRecordServiceImpl extends ServiceImpl<MkShopCo
|
|||||||
log.info("新客立减仅限新用户使用");
|
log.info("新客立减仅限新用户使用");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
MkConsumeDiscountVO consumeDiscountVO = canUse(shopId, userId);
|
MkConsumeDiscountVO consumeDiscountVO = canUse(shopId, userId);
|
||||||
|
|
||||||
DateTime now = DateUtil.date();
|
DateTime now = DateUtil.date();
|
||||||
@@ -164,6 +165,10 @@ public class MkShopConsumeDiscountRecordServiceImpl extends ServiceImpl<MkShopCo
|
|||||||
}
|
}
|
||||||
|
|
||||||
throw new ApiNotPrintException("随机立减计算失败");
|
throw new ApiNotPrintException("随机立减计算失败");
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.info(e.getMessage());
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user