use of com.hsn.epic4j.core.bean.UserInfo in project epic4j by huisunan.
the class EpicStarter method start.
protected void start() {
checkForUpdate();
// 获取周免游戏
List<Item> weekFreeItems = iStart.getFreeItems().stream().peek(i -> {
if (StrUtil.endWith(i.getProductSlug(), "/home")) {
i.setProductSlug(i.getProductSlug().replace("/home", ""));
}
}).collect(Collectors.toList());
// 处理 productSlug带/home的清空
for (UserInfo info : userInfos) {
doStart(info, weekFreeItems);
}
}
Aggregations