赵士淞
2022-12-23 ad676ed5fab71f40109e19514942149b925af1ec
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/system/rest/SysUserLevelWageController.java
@@ -71,7 +71,7 @@
    @Log("新增用户级别工资")
    @ApiOperation("新增用户级别工资")
    @PreAuthorize("@el.check('sysUserLevelWage:add')")
    public ResponseEntity<Object> createSysUserLevelWage(@Validated @RequestBody SysUserLevelWage resources){
    public ResponseEntity<Object> createSysUserLevelWage(@Validated @RequestBody SysUserLevelWage resources) throws Exception{
        return new ResponseEntity<>(sysUserLevelWageService.create(resources),HttpStatus.CREATED);
    }
@@ -79,7 +79,7 @@
    @Log("修改用户级别工资")
    @ApiOperation("修改用户级别工资")
    @PreAuthorize("@el.check('sysUserLevelWage:edit')")
    public ResponseEntity<Object> updateSysUserLevelWage(@Validated @RequestBody SysUserLevelWage resources){
    public ResponseEntity<Object> updateSysUserLevelWage(@Validated @RequestBody SysUserLevelWage resources) throws Exception{
        sysUserLevelWageService.update(resources);
        return new ResponseEntity<>(HttpStatus.NO_CONTENT);
    }