拒单-跳过微信退款
This commit is contained in:
parent
af63e0ccea
commit
6076e2b081
|
@ -30,7 +30,6 @@ import org.springframework.stereotype.Service;
|
|||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
@ -439,11 +438,7 @@ public class OrderServiceImpl implements OrderService {
|
|||
Integer payStatus = ordersDB.getPayStatus();
|
||||
if (payStatus == 1) {
|
||||
// 用户已支付,需要退款
|
||||
String refund = weChatPayUtil.refund(
|
||||
ordersDB.getNumber(),
|
||||
ordersDB.getNumber(),
|
||||
new BigDecimal("0.01"),
|
||||
new BigDecimal("0.01"));
|
||||
String refund = "用户已支付,需要退款";
|
||||
log.info("申请退款:{}", refund);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue