|
@@ -263,16 +263,8 @@ public class PlanNewOutController {
|
|
|
Integer userVisits = request.getUserVisits();
|
|
Integer userVisits = request.getUserVisits();
|
|
|
int v =userVisits%qs.size();
|
|
int v =userVisits%qs.size();
|
|
|
dataLists0.setQsSetting(qs.get(v));
|
|
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());
|
|
dataLists0.setLink(dataLists0.getPlanNew().link());
|
|
|
}else {
|
|
}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.setQsSetting(qs.get(request.getUserVisits()));
|
|
|
dataLists0.setLink(null);
|
|
dataLists0.setLink(null);
|
|
|
}
|
|
}
|
|
@@ -282,7 +274,6 @@ public class PlanNewOutController {
|
|
|
dataLists0.setLimitTime(qsSetting.limitTime());
|
|
dataLists0.setLimitTime(qsSetting.limitTime());
|
|
|
dataLists0.setLimitTimeRemark(qsSetting.limitTimeRemark());
|
|
dataLists0.setLimitTimeRemark(qsSetting.limitTimeRemark());
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
}else {
|
|
}else {
|
|
|
List<PlanNewBackgroupPoster> fx = collect.get(1).stream().sorted(Comparator.comparing(PlanNewBackgroupPoster::index)).collect(Collectors.toList());
|
|
List<PlanNewBackgroupPoster> fx = collect.get(1).stream().sorted(Comparator.comparing(PlanNewBackgroupPoster::index)).collect(Collectors.toList());
|
|
|
if (Objects.nonNull(fx) &&fx.size() != 0) {
|
|
if (Objects.nonNull(fx) &&fx.size() != 0) {
|
|
@@ -339,7 +330,6 @@ public class PlanNewOutController {
|
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
|
throw new BaseException(e.getMessage() +"---"+JSONUtil.parseObj(goRequest));
|
|
throw new BaseException(e.getMessage() +"---"+JSONUtil.parseObj(goRequest));
|
|
|
}
|
|
}
|
|
|
- //JSONObject jsonObject1 = JSONUtil.parseObj(ret);
|
|
|
|
|
if (jsonObject1.containsKey("code") && jsonObject1.get("code", Integer.class) == 0 && jsonObject1.containsKey("data")) {
|
|
if (jsonObject1.containsKey("code") && jsonObject1.get("code", Integer.class) == 0 && jsonObject1.containsKey("data")) {
|
|
|
JSONObject data = jsonObject1.get("data", JSONObject.class);
|
|
JSONObject data = jsonObject1.get("data", JSONObject.class);
|
|
|
if (data.containsKey("Url")) {
|
|
if (data.containsKey("Url")) {
|