|
|
@@ -76,11 +76,7 @@ public class DomainOrderController extends BaseController {
|
|
|
return domainOrderRepo.findById(id).orElseThrow(new BusinessException("无记录"));
|
|
|
}
|
|
|
|
|
|
- @PostMapping("/del/{id}")
|
|
|
- public void del(@PathVariable Long id) {
|
|
|
- domainOrderRepo.softDelete(id);
|
|
|
- }
|
|
|
-
|
|
|
+ @PreAuthorize("hasRole('ADMIN')")
|
|
|
@GetMapping("/excel")
|
|
|
@ResponseBody
|
|
|
public void excel(HttpServletResponse response, PageQuery pageQuery) throws IOException {
|