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