|
@@ -29,7 +29,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
@Validated
|
|
@Validated
|
|
@RestController
|
|
@RestController
|
|
@ResponseWrapping
|
|
@ResponseWrapping
|
|
-@PreAuthorize("isBusiness('EMPLOYEE')")
|
|
|
|
|
|
+@PreAuthorize("isScope('EMPLOYEE')")
|
|
public class DepartmentController {
|
|
public class DepartmentController {
|
|
@DubboReference
|
|
@DubboReference
|
|
private DepartmentService departmentService;
|
|
private DepartmentService departmentService;
|