|
@@ -37,7 +37,7 @@ public class DestroyRecordController extends BaseController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
- @PreAuthorize("hasRole('ADMIN')")
|
|
|
|
|
|
|
+ @PreAuthorize("hasRole('ADMIN' || 'META')")
|
|
|
@PostMapping("/all")
|
|
@PostMapping("/all")
|
|
|
public Page<DestroyRecord> all(@RequestBody PageQuery pageQuery) {
|
|
public Page<DestroyRecord> all(@RequestBody PageQuery pageQuery) {
|
|
|
return destroyRecordService.all(pageQuery);
|
|
return destroyRecordService.all(pageQuery);
|