mirror of
https://github.com/codewendao/PayPro.git
synced 2026-09-08 16:49:27 +08:00
去掉没用配置,修改配置文件默认值
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user