
SpringBoot
烤鸡翅我要六个
萨瓦迪卡
展开
-
从零开始搭建SpringBoot + Redis 短信验证 Demo
废话不多说,直接上操作步骤和说明1.新建SpringBoot项目直接来这里https://start.spring.io/这里配置你的项目吧2.去阿里云平台选择短信接口的服务(不管用哪个服务商的短信服务,配置其实都是照着他们供商给的文档做就行了)我这里例子用的短信接口是这个https://market.aliyun.com/products/56928004/cmapi0233...原创 2019-12-22 11:52:38 · 255 阅读 · 0 评论 -
spring加载ApplicationContext.xml的四种方式
spring 中加载xml配置文件的方式,好像有4种, xml是最常见的spring 应用系统配置源。Spring中的几种容器都支持使用xml装配bean,包括: XmlBeanFactory , ClassPathXmlApplicationContext , FileSystemXmlApplicationContext , XmlWebApplication...转载 2019-12-15 11:39:13 · 592 阅读 · 0 评论 -
Springboot 使用@RestController 时返回的是地址字符串咋办?
@RestController=@ResponseBody+@Controller当需要返回一个页面,发现返回的是字符串。接下来是以身试法环节,展示一波窒息的操作原创 2019-08-15 11:59:23 · 2327 阅读 · 0 评论