|
|
@@ -3182,8 +3182,8 @@ public class FsStoreOrderServiceImpl implements IFsStoreOrderService
|
|
|
return R.error("此订单没有可支付的金额");
|
|
|
}
|
|
|
|
|
|
- String orderId=redisCache.getCacheObject("isPaying:"+order.getId());
|
|
|
- if(StringUtils.isNotEmpty(orderId)&&orderId.equals(order.getId().toString())){
|
|
|
+ Object isPaying=redisCache.getCacheObject("isPaying:"+order.getId());
|
|
|
+ if(ObjectUtil.isNotNull(isPaying)){
|
|
|
return R.error("正在支付中...");
|
|
|
}
|
|
|
|