Commit cf7ff1ca8ab8d15e76885cc7424f5588caaa3160

Authored by YunaiV
1 parent d75d71d7

【功能修复】CRM:CrmBusinessController 部分权限标识不正确的问题

yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/business/CrmBusinessController.java
@@ -127,8 +127,8 @@ public class CrmBusinessController { @@ -127,8 +127,8 @@ public class CrmBusinessController {
127 } 127 }
128 128
129 @GetMapping("/simple-all-list") 129 @GetMapping("/simple-all-list")
130 - @Operation(summary = "获得联系人的精简列表")  
131 - @PreAuthorize("@ss.hasPermission('crm:contact:query')") 130 + @Operation(summary = "获得商机的精简列表")
  131 + @PreAuthorize("@ss.hasPermission('crm:business:query')")
132 public CommonResult<List<CrmBusinessRespVO>> getSimpleContactList() { 132 public CommonResult<List<CrmBusinessRespVO>> getSimpleContactList() {
133 CrmBusinessPageReqVO reqVO = new CrmBusinessPageReqVO(); 133 CrmBusinessPageReqVO reqVO = new CrmBusinessPageReqVO();
134 reqVO.setPageSize(PAGE_SIZE_NONE); // 不分页 134 reqVO.setPageSize(PAGE_SIZE_NONE); // 不分页