记得上下班打卡 | git大法好,push需谨慎

Commit 7c420f04 authored by 胡佳晨's avatar 胡佳晨

汇付回调

parent 2807df0d
......@@ -330,7 +330,8 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
// 调用支付
LinkedMultiValueMap<String, String> httpData = CollectionUtil.linkedMultiValueMapStringString();
httpData.add("type", "PRODUCT");
httpData.add("price", preParam.getPriceActual().toString());
// httpData.add("price", preParam.getPriceActual().toString());
httpData.add("price","0.01");
httpData.add("name", preParam.getStoreName());
httpData.add("detail", preParam.getSkuName());
httpData.add("orderCode", preParam.getOrderMasterCode());
......@@ -433,10 +434,10 @@ public class GoblinOrderServiceImpl implements IGoblinOrderService {
redisUtils.addUnPayOrder(orderVo.getOrderId());
//redis 订单列表
if (noZhengzaiOrder(uid)) {
if (orderVo.getMarketType().equals(GoblinStatusConst.MarketPreStatus.MARKET_PRE_ZHENGZAI.getValue())) {
redisUtils.addZhengzaiOrderList(uid, orderVo.getOrderId());
} else {
if (orderVo.getMarketType()==null) {
redisUtils.addOrderList(uid, orderVo.getOrderId());
} else if(orderVo.getMarketType().equals(GoblinStatusConst.MarketPreStatus.MARKET_PRE_ZHENGZAI.getValue())){
redisUtils.addZhengzaiOrderList(uid, orderVo.getOrderId());
}
}
//mysql 执行sql
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment