| | |
| | |
|
| | | @RequestMapping(value = "getStrategyPictureList")
|
| | | public void strategyPicture(String callback, AcceptData acceptData, PrintWriter out) {
|
| | | List<StrategyPicture> list = strategtPictureService.getStrategyPictureListCache();
|
| | | List<StrategyPicture> list = strategtPictureService.getTextStrategyPictureListCache();
|
| | | Gson gson = new GsonBuilder().excludeFieldsWithoutExposeAnnotation().create();
|
| | | if (StringUtil.isNullOrEmpty(callback)) {
|
| | | List<StrategyPicture> newList = new ArrayList<StrategyPicture>();
|
| | | newList.addAll(list);
|
| | | if (acceptData != null && "ios".equalsIgnoreCase(acceptData.getPlatform())
|
| | | && !StringUtil.isNullOrEmpty(acceptData.getVersion())
|
| | | && configService.iosOnLining(Integer.parseInt(acceptData.getVersion())))
|
| | | && configService.iosOnLining(Integer.parseInt(acceptData.getVersion()),acceptData.getSystem()))
|
| | | for (int i = 0; i < newList.size(); i++) {
|
| | | if (newList.get(i).getTitle().contains("赚钱")) {
|
| | | newList.remove(i);
|