摘要: 1、传给接口的cookie特殊字符串丢失: 解决办法:修改tomcat配置文件 org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE=true 2、html5 video标签在pc端浏览器中可以正常播放,在手机谷歌浏览器中也可以 阅读全文
posted @ 2018-07-05 15:23 公子秦1117 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1、spring.datasource.url=jdbc:mysql://192.168.1.105/spring?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC&useSSL=truespring.datasource.user 阅读全文
posted @ 2018-02-27 14:09 公子秦1117 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 事务:@Transactional 数据库配置: 阅读全文
posted @ 2018-02-24 17:46 公子秦1117 阅读(83) 评论(0) 推荐(0) 编辑
摘要: @controller:处理http请求 @restcontroller:==@controller和@requestbody @requestmapping配置url映射 (1)都能访问到该方法:@RequestMapping(value = {"/demo1","/demo2"},method 阅读全文
posted @ 2018-02-24 16:32 公子秦1117 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1、启动方式三种 2、测试环境+生产环境,多环境使用配置文件。 3、读取配置文件的方法 两种(1)@value (2)@component @ConfigurationProperties(prefix = "man")分组 阅读全文
posted @ 2018-02-24 15:29 公子秦1117 阅读(79) 评论(0) 推荐(0) 编辑