推荐网址
This commit is contained in:
@@ -101,4 +101,22 @@ public class UrlListController {
|
||||
}
|
||||
return JSONObject.toJSONString(result);
|
||||
}
|
||||
@RequestMapping("/recommendLatestUrl")
|
||||
public String recommendLatestUrl()
|
||||
{
|
||||
HashMap<String, Object> result = new HashMap<>();
|
||||
result.put("code", 200);
|
||||
result.put("msg", "处理成功");
|
||||
result.put("data",urlListService.latestEight());
|
||||
return JSONObject.toJSONString(result);
|
||||
}
|
||||
@RequestMapping("/recommendTopEightUrl")
|
||||
public String recommendTopEightUrl()
|
||||
{
|
||||
HashMap<String, Object> result = new HashMap<>();
|
||||
result.put("code", 200);
|
||||
result.put("msg", "处理成功");
|
||||
result.put("data",urlListService.TopEight());
|
||||
return JSONObject.toJSONString(result);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user