|
|
@@ -242,7 +242,7 @@ public class UserController extends BaseController {
|
|
|
return userService.searchByPhone(phone);
|
|
|
}
|
|
|
|
|
|
- @PreAuthorize("hasAnyRole('ADMIN', 'OPERATOR')")
|
|
|
+ @PreAuthorize("hasAnyRole('ADMIN', 'OPERATOR', 'SAAS')")
|
|
|
@PostMapping("/searchByPhoneAdmin")
|
|
|
public Map<String, Object> searchByPhoneAdmin(@RequestParam String phone) {
|
|
|
return userService.searchByPhoneAdmin(phone);
|