|
|
@@ -52,6 +52,7 @@ public class PlanNewOutController {
|
|
|
|
|
|
|
|
|
private static final ConcurrentHashMap<String,Integer> map = new ConcurrentHashMap<String,Integer>();
|
|
|
+
|
|
|
//清空用户Map数据
|
|
|
@Scheduled(cron="1 1 4 * * ?")
|
|
|
public void clearUserContextMap(){
|
|
|
@@ -262,8 +263,18 @@ public class PlanNewOutController {
|
|
|
Integer userVisits = request.getUserVisits();
|
|
|
int v =userVisits%qs.size();
|
|
|
dataLists0.setQsSetting(qs.get(v));
|
|
|
+// System.out.println( request.getUserVisits());
|
|
|
+// System.out.println( request.getUserVisits());
|
|
|
+// System.out.println( request.getUserVisits());
|
|
|
+// System.out.println( request.getUserVisits());
|
|
|
+ dataLists0.setLink(dataLists0.getPlanNew().link());
|
|
|
}else {
|
|
|
+// System.out.println( request.getUserVisits());
|
|
|
+// System.out.println( request.getUserVisits());
|
|
|
+// System.out.println( request.getUserVisits());
|
|
|
+// System.out.println( request.getUserVisits());
|
|
|
dataLists0.setQsSetting(qs.get(request.getUserVisits()));
|
|
|
+ dataLists0.setLink(null);
|
|
|
}
|
|
|
}
|
|
|
PlanNewBackgroupPoster qsSetting = dataLists0.getQsSetting();
|
|
|
@@ -271,6 +282,7 @@ public class PlanNewOutController {
|
|
|
dataLists0.setLimitTime(qsSetting.limitTime());
|
|
|
dataLists0.setLimitTimeRemark(qsSetting.limitTimeRemark());
|
|
|
}
|
|
|
+
|
|
|
}else {
|
|
|
List<PlanNewBackgroupPoster> fx = collect.get(1).stream().sorted(Comparator.comparing(PlanNewBackgroupPoster::index)).collect(Collectors.toList());
|
|
|
if (Objects.nonNull(fx) &&fx.size() != 0) {
|