05 2022 档案

摘要:<el-tree :data="data6" node-key="id" :props="defaultProps" default-expand-all @node-drag-start="handleDragStart" @node-drag-enter="handleDragEnter" @n 阅读全文
posted @ 2022-05-31 14:11 jamstack 阅读(783) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.coolcou.com/typescript/typescript-language/typescript-expand-operator.html 阅读全文
posted @ 2022-05-31 12:33 jamstack 阅读(37) 评论(0) 推荐(0) 编辑
摘要:背景: idea 2021.1 + maven 3.8.5 安装项目依赖,出现报错:NoSuchMethodError: org.apache.maven.model.validation.DefaultModelValidator: method 'void <init>()' not found 阅读全文
posted @ 2022-05-27 19:25 jamstack 阅读(1690) 评论(0) 推荐(0) 编辑
摘要:背景: 想用postman模拟表单的提交,但是提交的参数太多了,在postman里手动模拟很容易出错,如果可以把chrome浏览器里的请求直接导入到postman,就方便了多了 实现方法: 1.chrome => network => copy as cURL(bash) 2.postman => 阅读全文
posted @ 2022-05-25 19:16 jamstack 阅读(738) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/108069279 https://juejin.cn/post/6997587227807072264 https://heptaluan.github.io/2019/ 阅读全文
posted @ 2022-05-25 15:45 jamstack 阅读(205) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.cnblogs.com/onesea/p/15346649.html https://blog.csdn.net/weixin_34188576/article/details/113316033 https://www.csdn.net/tags/OtDaUg0 阅读全文
posted @ 2022-05-25 12:50 jamstack 阅读(130) 评论(0) 推荐(0) 编辑
摘要:config.module.rule('images').use('url-loader') .loader('file-loader') // replaces the url-loader .tap(options => Object.assign(options, { name: 'img/a 阅读全文
posted @ 2022-05-21 18:15 jamstack 阅读(320) 评论(0) 推荐(0) 编辑
摘要:spring boot的@Value注解可以读取配置文件的值,使用方法如下: @Value("${server.port}") 需要注意的是,要先在配置文件里定义server.port = 8080,不然会报错,也就是说@Value注解如果取的是配置文件里没有定义的key,就会报错 阅读全文
posted @ 2022-05-19 18:44 jamstack 阅读(179) 评论(0) 推荐(0) 编辑
摘要:docker pull nacos/nacos-server docker run --env MODE=standalone --name nacos -d -p 8848:8848 nacos/nacos-server 参考资料: https://www.csdn.net/tags/MtTaMg 阅读全文
posted @ 2022-05-19 17:53 jamstack 阅读(226) 评论(0) 推荐(0) 编辑
摘要:下载: https://repo.spring.io/ui/native/release/org/springframework/boot/spring-boot-cli/2.4.5/ 把下载的压缩包解压到D:\soft\spring-boot-cli-2.4.5-bin\spring-2.4.5, 阅读全文
posted @ 2022-05-19 14:40 jamstack 阅读(204) 评论(0) 推荐(0) 编辑
摘要:npm install -g @vue/cli 参考资料: https://blog.51cto.com/u_15242378/5142524 阅读全文
posted @ 2022-05-18 20:56 jamstack 阅读(35) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.jianshu.com/p/610ee519ea78 阅读全文
posted @ 2022-05-18 18:27 jamstack 阅读(119) 评论(0) 推荐(0) 编辑
摘要:背景: 同样的项目,在办公电脑上一切正常,换一个开发环境就报错了,开始以为是jdk版本版本不一致导致的,把jdk版本调整一致,问题还算没有解决,查了一些资料,有说是yml配置文件编码不是utf-8,改成utf-8问题仍然存在,还有说是maven默认编码是gbk,是maven导致的,实际测试,这个错误 阅读全文
posted @ 2022-05-16 23:18 jamstack 阅读(593) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://blog.csdn.net/weixin_42771651/article/details/121563281 阅读全文
posted @ 2022-05-16 18:16 jamstack 阅读(62) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://zhuanlan.zhihu.com/p/374416889 阅读全文
posted @ 2022-05-16 12:00 jamstack 阅读(18) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://blog.51cto.com/u_15338211/3561353 阅读全文
posted @ 2022-05-16 12:00 jamstack 阅读(16) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.cnblogs.com/sfnz/p/14165317.html 阅读全文
posted @ 2022-05-16 11:59 jamstack 阅读(16) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.jianshu.com/p/89ba7a8eb0d8 阅读全文
posted @ 2022-05-16 10:51 jamstack 阅读(16) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.jianshu.com/p/50949891c753 阅读全文
posted @ 2022-05-16 10:51 jamstack 阅读(57) 评论(0) 推荐(0) 编辑
摘要:在数据库的连接字符串添加如下配置参数: allowPublicKeyRetrieval=true 参考资料: https://blog.csdn.net/qq_38140292/article/details/116583828 阅读全文
posted @ 2022-05-13 19:50 jamstack 阅读(120) 评论(0) 推荐(0) 编辑
摘要:背景:不需要重启,这种情况,一般是进程没有正常结束导致的,本次实验以 idea启动8081端口,在项目启动的过程中,因为安装了插件,提示restart ide,于是直接重启idea,再次启动项目就报8081端口被占用 解决办法: netstat -aon|findstr "8081" taskkil 阅读全文
posted @ 2022-05-13 14:22 jamstack 阅读(74) 评论(0) 推荐(0) 编辑
摘要:https://www.apache.org/index.html#projects-list 阅读全文
posted @ 2022-05-13 13:42 jamstack 阅读(20) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.runoob.com/svn/tortoisesvn-intro.html 阅读全文
posted @ 2022-05-13 10:20 jamstack 阅读(19) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.csdn.net/tags/NtzaMgxsNzg4MDUtYmxvZwO0O0OO0O0O.html https://blog.csdn.net/qq_43936524/article/details/116244214 https://blog.csdn.ne 阅读全文
posted @ 2022-05-13 10:19 jamstack 阅读(36) 评论(0) 推荐(0) 编辑
摘要:背景:idea 2021.1,默认显示所有module,如果module很多,且module又包含子module,显示全部module,就会显得很拥挤,层次结构也不清晰 解决:点击项目右上角的设置,去掉show modules 阅读全文
posted @ 2022-05-13 09:15 jamstack 阅读(962) 评论(0) 推荐(0) 编辑
摘要:解决方法:idea => build => rebuild project,重新构建项目,再次启动即可 阅读全文
posted @ 2022-05-13 09:09 jamstack 阅读(597) 评论(0) 推荐(0) 编辑
摘要:一、maven的安装和配置 从maven官方下载maven3.6.3,https://dlcdn.apache.org/maven/maven-3/3.6.3/binaries/,解压到d:\soft\maven 打开Windows的环境变量设置,新建MAVEN_HOME,值是d:\soft\mav 阅读全文
posted @ 2022-05-12 18:13 jamstack 阅读(630) 评论(0) 推荐(0) 编辑
摘要:有三个配置文件,分为:dev、test、prod,想要默认使用prod,pom.xml添加如下配置即可: <profiles> <profile> <id>dev</id> <properties> <spring.active>dev</spring.active> </properties> < 阅读全文
posted @ 2022-05-12 09:16 jamstack 阅读(209) 评论(0) 推荐(0) 编辑
摘要:这是转载的,但是这两个项目集成了工作流,有一定参考价值 https://blog.csdn.net/afreon/article/details/123144114 阅读全文
posted @ 2022-05-11 16:22 jamstack 阅读(157) 评论(0) 推荐(0) 编辑
摘要:spring boot 要引入activiti 5.22.0,使用下面的方法是正确的,其他资料有的是错的 一、新建ruoyi-activiti5模块,pom.xml如下: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://ma 阅读全文
posted @ 2022-05-11 15:24 jamstack 阅读(427) 评论(0) 推荐(0) 编辑
摘要:参考资料: http://zpycloud.com/archives/2148 阅读全文
posted @ 2022-05-11 14:28 jamstack 阅读(232) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.jianshu.com/p/4b4b6f3590a4/ https://blog.csdn.net/android_java/article/details/109459765 https://www.cnblogs.com/garfieldcgf/p/13469 阅读全文
posted @ 2022-05-11 13:01 jamstack 阅读(143) 评论(0) 推荐(0) 编辑
摘要:一、创建监听器MyExecutionListener package com.ruoyi.web.listener; import org.activiti.engine.delegate.DelegateExecution; import org.activiti.engine.delegate. 阅读全文
posted @ 2022-05-11 11:56 jamstack 阅读(942) 评论(0) 推荐(0) 编辑
摘要:背景:actiBPM插件不支持在idea 2021.1版本上安装,需要测试activiti的用法,最好的方式是使用官方提供的编辑器和demo,官方提供的编辑器叫activiti-app,本文是在Windows环境下,基于docker for windows进行部署的。 一、安装docker for 阅读全文
posted @ 2022-05-11 09:05 jamstack 阅读(876) 评论(0) 推荐(0) 编辑
摘要:在resources文件夹下创建processes文件夹,把一个测试用的流程定义文件放到这个目录,这里以测试请假流程为例,测试的流程定义文件叫:leave.bpmn,内容如下: <?xml version="1.0" encoding="UTF-8"?> <bpmn2:definitions xml 阅读全文
posted @ 2022-05-10 16:54 jamstack 阅读(284) 评论(0) 推荐(0) 编辑
摘要:背景: 使用的基础项目来自https://gitee.com/smell2/ruoyi-vue-activiti.git 引入drools的步骤如下: 一、创建ruoyi-drools模块 parent选ruoyi,点确定 二、在ruoyi-admin模块的pom.xml引入drools依赖和jun 阅读全文
posted @ 2022-05-10 16:02 jamstack 阅读(2962) 评论(0) 推荐(0) 编辑
摘要:背景: 在ruoyi-admin的pom.xml引入了junit的依赖配置,如下: <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>test</ 阅读全文
posted @ 2022-05-10 15:54 jamstack 阅读(1959) 评论(0) 推荐(0) 编辑
摘要:activiti的官方文档https://www.activiti.org/userguide/index.html 参考资料: http://www.zzvips.com/article/216390.html https://www.jb51.net/article/239756.htm htt 阅读全文
posted @ 2022-05-10 14:25 jamstack 阅读(122) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://zhuanlan.zhihu.com/p/186214575 https://blog.csdn.net/huanglu0314/article/details/118487580 阅读全文
posted @ 2022-05-10 10:57 jamstack 阅读(133) 评论(0) 推荐(0) 编辑
摘要:开发环境是通过nvm安装的node环境,版本是16.12.0,项目是来自https://gitee.com/smell2/ruoyi-vue-activiti.git 报错信息如下图: npm ERR! gyp ERR! cwd D:\project\ruoyi-vue-activiti\ruoyi 阅读全文
posted @ 2022-05-10 09:10 jamstack 阅读(1238) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.cnblogs.com/binghe021/p/16189722.html 阅读全文
posted @ 2022-05-09 19:44 jamstack 阅读(211) 评论(0) 推荐(0) 编辑
摘要:在Windows下安装nvm可以参考这里https://www.jianshu.com/p/cce91f3bb181 nvm安装完成以后,需要进行配置,具体步骤如下: nvm list available nvm install 16.12.0 nvm use 16.12.0 在执行 nvm use 阅读全文
posted @ 2022-05-09 09:49 jamstack 阅读(167) 评论(0) 推荐(0) 编辑
摘要:背景: spring boot + MySQL 8,之前连接是正常的,今天启动项目,出现报错:Public Key Retrieval is not allowed 解决方法:在MySQL的连接参数里,添加下面这段配置: allowPublicKeyRetrieval=true 造成这个问题的原因, 阅读全文
posted @ 2022-05-09 09:13 jamstack 阅读(1081) 评论(0) 推荐(0) 编辑
摘要:C:\Users\your-pc\AppData\Local 经常关注这个文件夹下的大小,特别是Temp,npm_cache,Yarn,微信开发者工具,小程序开发者工具-updater 阅读全文
posted @ 2022-05-06 06:34 jamstack 阅读(445) 评论(0) 推荐(0) 编辑
摘要:git clone https://github.com/flipped-aurora/gin-vue-admin.git cd server && go generate -x cd web && npm i 第3步成功启动后,会打开登录界面,点前往初始化,等待初始化完成,再点登录 阅读全文
posted @ 2022-05-06 06:31 jamstack 阅读(218) 评论(0) 推荐(0) 编辑
摘要:./configure --prefix=/www/server/php/74 --with-config-file-path=/www/server/php/74/etc --with-fpm-user=www --with-fpm-group=www --with-curl --with-fre 阅读全文
posted @ 2022-05-06 06:28 jamstack 阅读(68) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.cnblogs.com/ibigboy/p/11124524.html 阅读全文
posted @ 2022-05-05 23:50 jamstack 阅读(95) 评论(0) 推荐(0) 编辑
摘要:背景: 在一般情况下,我们是使用toString()方法打印信息,但是这种方法并不通用,因此,我们需要一种简单,通用的方法,这里就用到了Gson <!-- gson 开始 --> <dependency> <groupId>com.google.code.gson</groupId> <artifa 阅读全文
posted @ 2022-05-05 18:23 jamstack 阅读(222) 评论(0) 推荐(0) 编辑
摘要:在pom.xml里添加如下依赖: <!-- flyway 开始 --> <dependency> <groupId>org.flywaydb</groupId> <artifactId>flyway-core</artifactId> </dependency> <!-- flyway 结束 --> 阅读全文
posted @ 2022-05-05 17:14 jamstack 阅读(185) 评论(0) 推荐(0) 编辑
摘要:也可以使用session自带的id,这里演示的是使用自定义uuid为session生成的id @RequestMapping(value = "/uuid", method = RequestMethod.GET) public @ResponseBody String uid(HttpSessio 阅读全文
posted @ 2022-05-05 06:59 jamstack 阅读(1119) 评论(0) 推荐(0) 编辑
摘要:背景: 如果不把session存储到redis里,而是采用传统的方式,在前后端分离的项目中,会出现获取不到session的情况 String verificationCodeIn = (String) httpServletRequest.getSession().getAttribute(veri 阅读全文
posted @ 2022-05-05 05:12 jamstack 阅读(264) 评论(0) 推荐(0) 编辑
摘要:假设要匹配的密文: A$2a$10$Cih2shiBNg5jWrj0i.2hbuzZ5.g9T6caaxNP4yYtp3.wpi48rXomu 代码如下: Pattern BCRYPT_PATTERN = Pattern .compile("\\A\\$2a?\\$"); // A$2a$10$Ci 阅读全文
posted @ 2022-05-04 19:28 jamstack 阅读(772) 评论(0) 推荐(0) 编辑
摘要:背景: spring boot 2.1.0 集成 kafka,报错:[org.springframework.kafka.annotation.KafkaListenerAnnotationBeanPostProcessor]: Constructor threw exception; nested 阅读全文
posted @ 2022-05-04 19:16 jamstack 阅读(2408) 评论(0) 推荐(0) 编辑
摘要:@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 60) 这个注解添加到启动类上,则session的过期时间为60秒 参考资料: https://docs.spring.io/spring-session/reference/guides/ 阅读全文
posted @ 2022-05-04 13:47 jamstack 阅读(1126) 评论(0) 推荐(0) 编辑
摘要:<!-- redis --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> <version>2.1.0.RELEASE 阅读全文
posted @ 2022-05-04 11:56 jamstack 阅读(99) 评论(0) 推荐(0) 编辑
摘要:<!-- spring session --> <dependency> <groupId>org.springframework.session</groupId> <artifactId>spring-session-data-redis</artifactId> </dependency> 阅读全文
posted @ 2022-05-04 11:55 jamstack 阅读(84) 评论(0) 推荐(0) 编辑
摘要:一、引入kafka依赖: <!-- kafka 依赖 开始 --> <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId> </dependency> <depen 阅读全文
posted @ 2022-05-04 09:50 jamstack 阅读(1187) 评论(0) 推荐(0) 编辑
摘要:背景: 如果要使用@ApiOperation注解,需要引入swagger,而不是引入OpenAPI。 在父工程的pom.xml里添加swagger的依赖: <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagg 阅读全文
posted @ 2022-05-04 08:13 jamstack 阅读(807) 评论(0) 推荐(0) 编辑
摘要:如果是父子模块,可以把下面的配置添加到父模块的pom.xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</ 阅读全文
posted @ 2022-05-03 19:26 jamstack 阅读(111) 评论(0) 推荐(0) 编辑
摘要:在父项目的pom.xml里添加如下依赖: <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-ui</artifactId> <version>1.6.4</version> </dependency 阅读全文
posted @ 2022-05-03 18:23 jamstack 阅读(1174) 评论(0) 推荐(0) 编辑
摘要:1.接口的默认方法 在接口中新增了default方法和static方法,这两种方法可以有方法体 2.Lambda 表达式 Lambda表达式可以看成是匿名内部类,使用Lambda表达式时,接口必须是函数式接口 3.函数式接口 如果一个接口只有一个抽象方法,则该接口称之为函数式接口,因为 默认方法 不 阅读全文
posted @ 2022-05-03 18:08 jamstack 阅读(15) 评论(0) 推荐(0) 编辑
摘要:背景: 因为使用的是laravel 8,下面这个不支持laravel 8 composer require mpociot/laravel-apidoc-generator 改用下面的 composer require --dev knuckleswtf/scribephp artisan vend 阅读全文
posted @ 2022-05-03 17:16 jamstack 阅读(575) 评论(0) 推荐(0) 编辑
摘要:tar -czvf test.tar.gz --exclude=test/.node_modules test/ 参考资料: https://blog.51cto.com/meiling/2385324 阅读全文
posted @ 2022-05-03 17:01 jamstack 阅读(158) 评论(0) 推荐(0) 编辑
摘要:$payload = json_decode(base64_decode('eyJpdiI6IkhqaWNhQmRTY3F3RC9Vc2Z4K3pHU1E9PSIsInZhbHVlIjoib2ZZQWxwRGxjSjBzazY4N29DTm12TjJyeWJOcXB1cUFaQ2psbU4vTlV5 阅读全文
posted @ 2022-05-02 11:02 jamstack 阅读(71) 评论(0) 推荐(0) 编辑
摘要:laravel的辅助函数定义在src/Illuminate/Foundation/helpers.php,值得认真读一读 阅读全文
posted @ 2022-05-02 00:26 jamstack 阅读(30) 评论(0) 推荐(0) 编辑
摘要:vendor/symfony/http-foundation/Response.php 阅读全文
posted @ 2022-05-01 22:54 jamstack 阅读(14) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示