支付成功时间
This commit is contained in:
@@ -1050,6 +1050,7 @@ public class OrderInfoCustomServiceImpl implements OrderInfoCustomService {
|
|||||||
payment.setPayStatus(PayTypeConstants.PayStatus.FAIL);
|
payment.setPayStatus(PayTypeConstants.PayStatus.FAIL);
|
||||||
payment.setPlatformType(notifyRespDTO.getPlatform());
|
payment.setPlatformType(notifyRespDTO.getPlatform());
|
||||||
payment.setChannel(channel);
|
payment.setChannel(channel);
|
||||||
|
payment.setPayTime(LocalDateTimeUtil.parse(notifyRespDTO.getPaySuccessTime(), "yyyy-MM-dd HH:mm:ss"));
|
||||||
if ("TRADE_SUCCESS".equals(notifyRespDTO.getStatus())) {
|
if ("TRADE_SUCCESS".equals(notifyRespDTO.getStatus())) {
|
||||||
payment.setPayStatus(PayTypeConstants.PayStatus.SUCCESS);
|
payment.setPayStatus(PayTypeConstants.PayStatus.SUCCESS);
|
||||||
if (PayTypeConstants.SourceType.ORDER.equals(payment.getSourceType())) {
|
if (PayTypeConstants.SourceType.ORDER.equals(payment.getSourceType())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user