nili 5 months ago
parent
commit
b6d35537c0
  1. 4
      game-service/src/main/java/awesome/group/game/service/bo/matrix/MarketConfigBo.java

4
game-service/src/main/java/awesome/group/game/service/bo/matrix/MarketConfigBo.java

@ -1,6 +1,7 @@
package awesome.group.game.service.bo.matrix; package awesome.group.game.service.bo.matrix;
import java.util.List; import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
public class MarketConfigBo { public class MarketConfigBo {
public String packageName; public String packageName;
@ -21,6 +22,9 @@ public class MarketConfigBo {
this.desc = config.desc; this.desc = config.desc;
this.images = config.images; this.images = config.images;
this.downloadTimes = config.downloadTimes; this.downloadTimes = config.downloadTimes;
if(this.downloadTimes < 1) {
this.downloadTimes = ThreadLocalRandom.current().nextInt(1000, 10000);
}
} }
} }

Loading…
Cancel
Save