mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 21:52:07 +08:00
权限问题修复:工序加工顶部菜单栏查询工序列表接口增加权限'product:process:query'
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ public class ProcessController {
|
|||||||
@GetMapping("/select")
|
@GetMapping("/select")
|
||||||
@Operation(summary = "查看当前登录用户的组织的工序信息")
|
@Operation(summary = "查看当前登录用户的组织的工序信息")
|
||||||
@Parameter(name = "userId", description = "当前登录的用户ID", required = true, example = "1")
|
@Parameter(name = "userId", description = "当前登录的用户ID", required = true, example = "1")
|
||||||
@PreAuthorize("@ss.hasPermission('system:process:query')")
|
@PreAuthorize("@ss.hasAnyPermissions('system:process:query','product:process:query')")
|
||||||
public CommonResult<List<ProcessDO>> getUserPage(@Valid @RequestParam("userId") Long userId) {
|
public CommonResult<List<ProcessDO>> getUserPage(@Valid @RequestParam("userId") Long userId) {
|
||||||
|
|
||||||
return success(processService.getUserProcess(userId));
|
return success(processService.getUserProcess(userId));
|
||||||
|
|||||||
Reference in New Issue
Block a user