修改接口名和响应内容

This commit is contained in:
小海
2020-04-23 16:34:04 +08:00
parent d934fbe284
commit cd7e6b6378
5 changed files with 29 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ public class WebUpdateInfoController {
public Response page(@RequestParam("page") int page, @RequestParam("count") int count) {
return ResponseUtil.success(webUpdateInfoService.pages(count, page));
}
@GetMapping("/lastestUpdateTime")
@GetMapping("/lastestUpdate")
public Response lastestUpdateTime() {
return ResponseUtil.success(webUpdateInfoService.getLastestUpdateTime());
}