mark for pull
This commit is contained in:
@@ -84,9 +84,7 @@ public class FactoryController {
|
||||
public Result update(@RequestBody FactoryDTO dto){
|
||||
//效验数据
|
||||
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
|
||||
|
||||
factoryService.update(dto);
|
||||
|
||||
return new Result();
|
||||
}
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ public class ProductController {
|
||||
return new Result<ProductDTO>().ok(data);
|
||||
}
|
||||
|
||||
@PostMapping
|
||||
@PostMapping("save")
|
||||
@ApiOperation("保存")
|
||||
@LogOperation("保存")
|
||||
//@PreAuthorize("@ex.hasAuthority('code:product:save')")
|
||||
@@ -78,7 +78,7 @@ public class ProductController {
|
||||
return new Result();
|
||||
}
|
||||
|
||||
@PutMapping
|
||||
@PutMapping("update")
|
||||
@ApiOperation("修改")
|
||||
@LogOperation("修改")
|
||||
//@PreAuthorize("@ex.hasAuthority('code:product:update')")
|
||||
@@ -91,7 +91,7 @@ public class ProductController {
|
||||
return new Result();
|
||||
}
|
||||
|
||||
@DeleteMapping
|
||||
@DeleteMapping("delete")
|
||||
@ApiOperation("删除")
|
||||
@LogOperation("删除")
|
||||
//@PreAuthorize("@ex.hasAuthority('code:product:delete')")
|
||||
|
||||
Reference in New Issue
Block a user