摘要: 对静态static变量注入值方式 @Value("videoPath")privateStringpath;@Value("{videoPath}") private static String path2; private static String path3; @Value(" 阅读全文
posted @ 2023-11-30 10:25 九月!! 阅读(34) 评论(0) 推荐(0) 编辑
摘要: /* * 将时间转换为时间戳 */ public static String dateToStamp(String s) throws ParseException { String res; SimpleDateFormat simpleDateFormat = new SimpleDateFor 阅读全文
posted @ 2023-03-06 17:22 九月!! 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 项目前后端分离时,会出现跨域访问,就需要解决cros跨域请求问题 ####1.加注解 在请求层上面加上@CrossOrigin,就可以实现跨域并访问所有的资源了。 ####2.写配置类重写方法 import org.springframework.web.servlet.config.annotat 阅读全文
posted @ 2022-09-02 17:27 九月!! 阅读(67) 评论(0) 推荐(0) 编辑
摘要: ####结构图 ####pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSch 阅读全文
posted @ 2022-08-11 16:20 九月!! 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 请求:localhost:8088/jiu/update/4?a=a&bb=b @GetMapping("/update/{ids}") public void updateUser(@PathVariable("ids") int id, @PathParam("aa") int a, @Requ 阅读全文
posted @ 2022-08-10 16:48 九月!! 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/nimeijian/article/details/53464908 #####问题描述 当在.properties的配置文件中有中文时,读取出来的总是乱码。比如我的application.properties配置文件的内容如下: server. 阅读全文
posted @ 2022-06-29 15:25 九月!! 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 通过animation与keyframes实现图片旋转,在旋转时加透明属性 #####案例代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=de 阅读全文
posted @ 2022-06-24 15:48 九月!! 阅读(89) 评论(0) 推荐(0) 编辑
摘要: #####配置series中的markPoint markPoint: { label: { color: '#FFF', // 文字颜色 padding: [0, 0, 5, 0], // 可用padding调整图片内文字距离 show: false, formatter: '10:30' // 阅读全文
posted @ 2022-06-24 14:22 九月!! 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 1.设置一个echarts容器 在容器上加上@mouseenter="closeRotation" @mouseout="openRotation"两个方法 当鼠标移入时停止轮播,鼠标移走时继续轮播 <div class="top_body" id="myChart" @mouseenter="cl 阅读全文
posted @ 2022-06-24 14:17 九月!! 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 三大方法,七大参数,四种拒绝策略 三大方法 ExecutorService threadPool = Executors.newSingleThreadExecutor();//单个线程 ExecutorService threadPool2 = Executors.newFixedThreadPo 阅读全文
posted @ 2022-05-19 14:11 九月!! 阅读(19) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示