我们使用之前定义的BCrypt Bean 来加密传入的UserDto 对象的password 字段。这个操作也可以在controller 之中执行,但是把逻辑操作集中到service 类中是更 ...
確定! 回上一頁