Sfoglia il codice sorgente

[C端首页][修改][换一换拼团和砍价]

release_toaliyun_real
gongbiao 6 anni fa
parent
commit
cba40f73f9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java Vedi File

@@ -149,7 +149,7 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService {
.filter(wxCouponChannelVo -> !wxCouponChannelVo.getCouponId().equals(finalCouponId))
.collect(Collectors.toList());
if (!voList.isEmpty()) {
int size = voList.size() - 1;
int size = voList.size();
Random random = new Random();
return voList.get(random.nextInt(size));
}


Caricamento…
Annulla
Salva