Commit 0ca5cd936d7e7861e92c7d90c3816dd113a1b4e3

Authored by fengliang
1 parent 4522db94

update:取消参数效验。

etrade-order/src/main/java/com/diligrp/etrade/order/service/impl/OrderServiceImpl.java
... ... @@ -219,7 +219,9 @@ public class OrderServiceImpl implements OrderService {
219 219 RLock lock = redissonClient.getLock(OrderConstant.OrderLock + orderPayment.getTradeId());
220 220 try{
221 221 lock.lock();
222   - this.wxChatPayCloseUnLock(orderPayment.getTradeId(),order.getMarketId());
  222 + if(StringUtils.isNotBlank(orderPayment.getTradeId())){
  223 + this.wxChatPayCloseUnLock(orderPayment.getTradeId(),order.getMarketId());
  224 + }
223 225 }finally{
224 226 lock.unlock();
225 227 }
... ...