SpringBoot+Security 發送短信驗證碼

在core模塊下properties包中創建SmsCodeProperties 在ValidateCodeProperties中new一個SmsCodeProperties對象,並實現getter、setter方法 在core模塊下validate包中創建SmsCodeGenerator實現ValidateCodeGenerator接口 創建SmsCodeSender接口,定義發送短信的抽象方法
相關文章
相關標籤/搜索