| | |
| | | System system = systemService.getById(systemId);
|
| | | List<SuperHotSearch> list = superHotSearchService.getHotSearchSystem(id, systemId);
|
| | | if (list == null || list.size() == 0) {
|
| | | superHotSearchService.addSuper(systemId, system);
|
| | | superHotSearchService.addSuper(id, system);
|
| | | JSONObject data = new JSONObject();
|
| | | data.put("check", 1);
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult(data));
|
| | |
| | | } else {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("修改失败"));
|
| | | }
|
| | | } |
| | | }
|
| | |
|
| | | } catch (Exception e) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("修改异常"));
|