![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring Boot
situnima
走出舒适圈
展开
-
restful SpringMVC中Get请求传递数组与接收数组
controller层在controller中接收数组类型参数可以通过List的方式或者数组方式接收示例代码 @GetMapping("/consumerGetTest") @ResponseBody public String consumerPostTest(@RequestParam("nameArr") List<String> nameArr, ...原创 2020-01-02 21:51:49 · 8973 阅读 · 1 评论 -
Spring Boot 国际化步骤
创建一个国际化配置文件夹在文件夹中直接创建国际化配置文件login.properties创建中文配置文件此时idea识别出文件夹为国际化文件,我们可通过如下方式添加其他国家语言的配置文件添加完配置文件,点开其中一个配置相关国际化参数将配置文件路径配置到application.properties中注意:idea 2018版本不能将路径配置为spring...原创 2019-09-29 00:14:08 · 473 阅读 · 0 评论