guarantee-lsq 9 сар өмнө
parent
commit
f975fb00c2

+ 0 - 3
platform-rest/src/main/java/com/platform/rest/controller/custom/CustomFormController.java

@@ -79,7 +79,6 @@ public class CustomFormController {
      */
     @SysLog("删除自定义表单表")
     @DeleteMapping("/{id}")
-    @PreAuthorize("@pms.hasPermission('custom-form-del')")
     public R removeById(@PathVariable String id) {
         customFormService.deleteByPrimaryKey(id);
         return new R<>();
@@ -93,7 +92,6 @@ public class CustomFormController {
      */
     @SysLog("批量删除自定义表单表")
     @DeleteMapping("")
-    @PreAuthorize("@pms.hasPermission('custom-form-del')")
     public R removeIds(@RequestBody List<String> ids) {
         customFormService.batchDelete(ids);
         return new R<>();
@@ -131,7 +129,6 @@ public class CustomFormController {
      */
     @GetMapping("/export")
     @SysLog("自定义表单表导出")
-    @PreAuthorize("@pms.hasPermission('custom-form-export')")
     public void export(HttpServletResponse response, CustomFormDTO customFormDTO) {
         List<CustomForm> list = customFormService.getModelListByDTO(customFormDTO);
         ExcelUtil.exportResponseDict(response, ExportCustomFormVO.class, BeanConverterUtil.copyListProperties(list, ExportCustomFormVO.class), "自定义表单表");

+ 0 - 1
platform-rest/src/main/java/com/platform/rest/controller/custom/CustomRelationController.java

@@ -77,7 +77,6 @@ public class CustomRelationController {
      * @return R
      */
     @SysLog("删除默认关联")
-    @DeleteMapping("/{id}")
     public R removeById(@PathVariable String id) {
         customRelationService.deleteByPrimaryKey(id);
         return new R<>();