摘要: kaptcha配置 @Configuration public class KaptchaConfig { @Bean public Producer kaptchaProducer() { DefaultKaptcha kaptcha = new DefaultKaptcha(); Propert 阅读全文
posted @ 2022-03-17 13:36 小江麦子 阅读(140) 评论(0) 推荐(0)
摘要: 枚举类: public enum SubjectEnum { [Display(Name = "语文")] Chinese = 1, [Display(Name = "数学")] Math = 2, [Display(Name = "英语")] English = 3, } 循环遍历枚举: fore 阅读全文
posted @ 2021-04-19 17:58 小江麦子 阅读(336) 评论(0) 推荐(0)