|
@@ -229,7 +229,7 @@ public class OrderServiceImpl extends ServiceImpl<IOrderMapper, Order> implement
|
|
|
orderSn += "_download";
|
|
|
break;
|
|
|
}
|
|
|
- if(!redisUtil.hasKey(RedisKeyUtil.QRCODE + orderSn)){
|
|
|
+ if(param.getPayType()!= 2 && !redisUtil.hasKey(RedisKeyUtil.QRCODE + orderSn)){
|
|
|
String wxPngPath = QrCodeFilePath.WEIXIN_QRCODE_FOLDER + orderSn + ".png";
|
|
|
String aliPngPath = QrCodeFilePath.ALI_QRCODE_FOLDER + orderSn + ".png";
|
|
|
FileUtils.deleteFile(wxPngPath);
|