会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
九月!!
博客园
首页
新随笔
联系
订阅
管理
1
2
3
下一页
2023年11月30日
static变量注入
摘要: 对静态static变量注入值方式 @Value("${videoPath}") private String path; @Value("${videoPath}") private static String path2; private static String path3; @Value("
阅读全文
posted @ 2023-11-30 10:25 九月!!
阅读(45)
评论(0)
推荐(0)
2023年3月6日
时间戳与指定格式时间的装换
摘要: /* * 将时间转换为时间戳 */ public static String dateToStamp(String s) throws ParseException { String res; SimpleDateFormat simpleDateFormat = new SimpleDateFor
阅读全文
posted @ 2023-03-06 17:22 九月!!
阅读(24)
评论(0)
推荐(0)
2022年9月2日
跨域访问cros
摘要: 项目前后端分离时,会出现跨域访问,就需要解决cros跨域请求问题 ####1.加注解 在请求层上面加上@CrossOrigin,就可以实现跨域并访问所有的资源了。 ####2.写配置类重写方法 import org.springframework.web.servlet.config.annotat
阅读全文
posted @ 2022-09-02 17:27 九月!!
阅读(73)
评论(0)
推荐(0)
2022年8月11日
ssm相关配置
摘要: ####结构图 ####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 九月!!
阅读(23)
评论(0)
推荐(0)
2022年8月10日
@RequestParam(加@RequestBody)、@PathParam、@PathVariable
摘要: 请求: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 九月!!
阅读(201)
评论(0)
推荐(0)
2022年6月29日
读取properties.yml含有中文信息乱码问题
摘要: 原文链接:https://blog.csdn.net/nimeijian/article/details/53464908 #####问题描述 当在.properties的配置文件中有中文时,读取出来的总是乱码。比如我的application.properties配置文件的内容如下: server.
阅读全文
posted @ 2022-06-29 15:25 九月!!
阅读(339)
评论(0)
推荐(0)
2022年6月24日
css图片旋转与隐藏
摘要: 通过animation与keyframes实现图片旋转,在旋转时加透明属性 #####案例代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=de
阅读全文
posted @ 2022-06-24 15:48 九月!!
阅读(93)
评论(0)
推荐(0)
ecahrts柱状图顶点样式设置背景图片
摘要: #####配置series中的markPoint markPoint: { label: { color: '#FFF', // 文字颜色 padding: [0, 0, 5, 0], // 可用padding调整图片内文字距离 show: false, formatter: '10:30' //
阅读全文
posted @ 2022-06-24 14:22 九月!!
阅读(251)
评论(0)
推荐(0)
echarts轮播
摘要: 1.设置一个echarts容器 在容器上加上@mouseenter="closeRotation" @mouseout="openRotation"两个方法 当鼠标移入时停止轮播,鼠标移走时继续轮播 <div class="top_body" id="myChart" @mouseenter="cl
阅读全文
posted @ 2022-06-24 14:17 九月!!
阅读(381)
评论(0)
推荐(0)
2022年5月19日
线程池
摘要: 三大方法,七大参数,四种拒绝策略 三大方法 ExecutorService threadPool = Executors.newSingleThreadExecutor();//单个线程 ExecutorService threadPool2 = Executors.newFixedThreadPo
阅读全文
posted @ 2022-05-19 14:11 九月!!
阅读(22)
评论(0)
推荐(0)
1
2
3
下一页
公告