去掉没用配置,修改配置文件默认值

This commit is contained in:
chackylee
2026-02-27 15:07:51 +08:00
parent f5deab507c
commit e72bc7f3dc
4 changed files with 3 additions and 11 deletions

View File

@@ -222,7 +222,6 @@ public class OrderServiceImpl implements OrderService {
if (pay.getProductId() != null) {
Product product = productMapper.selectById(pay.getProductId());
if (product.getType().equals("CODE")) {
pay.setDownloadUrl(payProConfig.getDownloadUrl());
emailUtils.sendTemplateMail(payProConfig.getEmail().getSender(), pay.getEmail(), "【Pay个人收款支付系统】支付成功通知附下载链接",
"order-success", pay);
pay.setState(OrderStatesEnum.SUCCESS_PAY.getState());