| | |
| | | * @param out
|
| | | */
|
| | | @RequestMapping(value = "saveModify")
|
| | | public void saveModify(String callback, Config config, PrintWriter out) {
|
| | | public void saveModify(AdminAcceptData acceptData,String callback, Config config, PrintWriter out) {
|
| | |
|
| | | Long id = config.getId();
|
| | | if (id == null) {
|
| | |
| | |
|
| | |
|
| | | @RequestMapping(value = "getArticleHot")
|
| | | public void getArticleHot(AcceptData acceptData, PrintWriter out) {
|
| | | public void getArticleHot(AdminAcceptData acceptData, PrintWriter out) {
|
| | | JSONObject data = new JSONObject();
|
| | | data.put("list", configService.getValue(ConfigKeyEnum.articleHotWords.getKey(),acceptData.getSystem()));
|
| | | out.print(JsonUtil.loadTrueResult(data));
|