Wesley13 Wesley13
4年前
JS导出页面为PDF文件,该如何操作?来看一眼就明白啦!
废话不多说,直接上代码。1.资源文件或依赖<scripttype"text/javascript"src"https://my.oschina.net//u/4265132/blog/4054317/js/canvg2.js"</script<scripttype"text/javascript"src"https://m
Stella981 Stella981
4年前
SpringBoot自定注解+SpringAop实现操作日志
使用自定义注解SpringAop实现操作日志记录,记录内容包括请求参数、请求方法、请求响应时间等的记录。一、在pom文件中,引入依赖包和插件。<dependency<groupIdorg.springframework.boot</groupId<artifactIdspringbootsta
Stella981 Stella981
4年前
SpringBoot(2.0.4.RELEASE)+Elasticsearch(6.2.4)+Gradle简单整合
记录一下SpringBoot(2.0.4.RELEASE)Elasticsearch(6.2.4)Gradle整合的一个小例子。1.在Gradle内加入相关jar包的依赖:compile('org.springframework.boot:springbootstarterweb')compile('org.springf
Stella981 Stella981
4年前
Flutter时间格式化工具
本期推荐Flutter时间格式化工具Intl(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fpub.dev%2Fpackages%2Fintl)添加依赖dependencies:intl:^0.16.1安装flu
Easter79 Easter79
4年前
Spring核心源码
一、常见的初始化方式spring常见的初始化方式有如下几种:1\.main函数里使用ClassPathXmlApplicationContextpublicstaticvoidmain(String\\args){ClassPathXmlApplicationContextclassPathXml
Wesley13 Wesley13
4年前
3步创建APIJSON后端新表及配置
1.MySQLWorkbench新增Table!(https://static.oschina.net/uploads/img/201711/12230359_ASBM.jpg)2.配置权限APIJSON3.7.0 版开始,依赖了apijsonframework.jar 的不需要写任何代码:2.1)在Acce
Stella981 Stella981
4年前
HQChart使用教程63
HQChart使用教程63uniapp使用renderjshqchart序步骤1\.安装依赖模块2\.创建renderjsqhchart模块3\.使用HQChartCtrl对hqchart进行简单的封装4\.page页面创建一个view元素绑定到HQChartCtrl
Stella981 Stella981
4年前
LoadingCache缓存使用(LoadingCache)
首先需要引入先关pom依赖(项目源码参考:https://github.com/licunzhi/dream\_on\_sakura\_rain/tree/master/loadingcache\_demo(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.c
Wesley13 Wesley13
4年前
Java
最近处于工程尾期,抽出点时间来学习下工程中用到的知识点。1.正则表达式作用:它使用单个字符串来描述、匹配一系列符合某个语法规则的字符串。举例:在很多文本编辑器里,正则表达式被用来检索、替换某些文字或字符串。注意:当正则表达式和字符串函数都能解决问题时,尽量使用字符串函数,这样不容易出错,最重要的一点是字符串函数比正则表达式实现性能上要好得
智造升级,精准高效——万界星空科技漆包线行业MES系统
在“工业4.0”与“中国制造2025”的浪潮下,传统漆包线制造企业正面临前所未有的转型压力:订单碎片化、工艺复杂、质量波动大、人工依赖高、物流效率低……如何破局?