weicd
2023-10-20 3ebd27c2a194949e68eeaca77b889fc95418349e
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java
@@ -254,10 +254,17 @@
        return new ResponseEntity<>(userService.getUserCalendarInfo(month), HttpStatus.OK);
    }
    @GetMapping(value = "/getUserBaseInfo")
    @GetMapping(value = "/getUserBaseInfo/{yearMonth}")
    @Log("获取用户基础信息")
    @ApiOperation("获取用户日历信息")
    public ResponseEntity<Object> getUserBaseInfo() throws ParseException {
        return new ResponseEntity<>(userService.getUserBaseInfo(), HttpStatus.OK);
    public ResponseEntity<Object> getUserBaseInfo(@PathVariable Date yearMonth) throws ParseException {
        return new ResponseEntity<>(userService.getUserBaseInfo(yearMonth), HttpStatus.OK);
    }
    @GetMapping(value = "/getUserInfose")
    @Log("查询用户信息")
    @ApiOperation("查询用户信息")
    public ResponseEntity<Object> getUserInfos() {
        return new ResponseEntity<>(userService.getUserInfose(), HttpStatus.OK);
    }
}