weicd
2024-12-27 0766c42639d0e9b12d8dc2f93589b4713ced57a6
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/UserController.java
@@ -38,6 +38,7 @@
import me.zhengjie.utils.*;
import me.zhengjie.modules.system.service.UserService;
import me.zhengjie.utils.enums.CodeEnum;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.data.domain.Pageable;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
@@ -152,7 +153,7 @@
        return new ResponseEntity<>(PageUtil.toPage(null,0),HttpStatus.OK);
    }
    @Log("新增用户")
//    @Log("新增用户")
    @ApiOperation("新增用户")
    @PostMapping
    @PreAuthorize("@el.check('user:add')")
@@ -297,7 +298,7 @@
    @GetMapping("/getPerformanceDetail")
    public ResponseEntity<Object> getPerformanceDetail(Long nextMonth) throws ParseException {
        return new ResponseEntity<>(userService.getPerformanceDetail(nextMonth),HttpStatus.OK);
        return new ResponseEntity<>(HttpStatus.OK); // userService.getPerformanceDetail(nextMonth),
    }