11.2 @WithMockUser · 用户名“ user”的用户不必存在,因为我们在模拟用户 · SecurityContext 中填充的 Authentication 的类型为 UsernamePasswordAuthenticationToken.
確定! 回上一頁