feat(payment): 支付功能调整和订单状态查询

master
yang 2025-02-10 18:59:15 +08:00
parent da69a15cb9
commit d2e1697e4e
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ public class AliPayServiceImpl implements AliPayService {
AlipayTradePrecreateResponse payResponse = Factory.Payment.FaceToFace()
.preCreate(tradeEntity.getProductName(),
tradeEntity.getCode(),
tradeEntity.getPaymentAmount().toString());
paymentAmount.toString());
// 缓存到redis
redisCache.setCacheObject(tradeEntity.getCode(), JSONUtil.toJsonStr(tradeEntity), 30, TimeUnit.SECONDS);
//参照官方文档响应示例,解析返回结果