11 2022 档案
摘要:引入一个依赖 <dependency> <groupId>xin.altitude.cms</groupId> <artifactId>ucode-cms-common</artifactId> <version>1.5.8.3</version> </dependency> 准备实体类和BO类 D
阅读全文
摘要:话题不多说,直接开整 1、先导入依赖 <dependency> <groupId>io.github.admin4j</groupId> <artifactId>common-http-starter</artifactId> <version>0.4.2</version> </dependenc
阅读全文
摘要:版本 SpringBoot:2.7.3 Dubbo:3.0.4 Nacos:2.0.3 异常信息如下 Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,b
阅读全文
摘要:Vue 3 1. TypeScript 1) 动态类型的问题 前面我们讲过 js 属于动态类型语言,例如 function test(obj) { } obj 可能只是个字符串 test('hello, world') obj 也有可能是个函数 test(()=>console.log('hello
阅读全文
摘要:1、MybatisPlus多数据源配合 导入相关依赖 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.5.2</version> </
阅读全文
摘要:【强制】主键索引名为 pk_字段名;唯一索引名为 uk_字段名;普通索引名则为 idx_字段名 说明:pk_ 即 primary key;uk_ 即 unique key;idx_ 即 index 的简称。
阅读全文
摘要:yarn 安装 npm install -g yarn 查看版本 yarn -v 开始一个新工程 yarn init 与 npm init 一样通过交互式会话创建一个 package.json yarn init # yarn npm init # npm 跳过会话,直接通过默认值生成 packag
阅读全文
摘要:找到你的settings.xml配置文件E:\maven3.6.3\apache-maven-3.6.3\conf <!-- 配置本地仓库地址 --> <localRepository>E:\Development\Maven\repository</localRepository> <!-- 配置
阅读全文
摘要:1、record快速定义类 @Test public void testRecord() { /** * JDK16新特性 * * @param start * @param end */ record qiu(int start, int end) { int sum() { return qiu
阅读全文
摘要:1、创建 /** * public static <U> CompletableFuture<U> supplyAsync(Supplier<U> supplier){..} * public static <U> CompletableFuture<U> supplyAsync(Supplier<
阅读全文
摘要:今天在开发项目中遇到了一个奇怪的异常,记录一下把! 异常信息如下(截取了主要的部分) Caused by: net.sf.jsqlparser.parser.ParseException: Encountered " "TOP" "top "" at line 17, column 21. Was
阅读全文
摘要:三. Vue 2 1. Vue 基础 1) 环境准备 安装脚手架 npm install -g @vue/cli -g 参数表示全局安装,这样在任意目录都可以使用 vue 脚本创建项目 创建项目 vue ui 使用图形向导来创建 vue 项目,如下图,输入项目名 选择手动配置项目 添加 vue ro
阅读全文
摘要:### 1、是什么? axios 它的底层是用了 XMLHttpRequest(xhr)方式发送请求和接收响应,xhr 相对于之前讲过的 fetch api 来说,功能更强大,但由于是比较老的 api,不支持 Promise,axios 对 xhr 进行了封装,使之支持 Promise,并提供了对请
阅读全文
摘要:# 第二章. Javascript 它是一种脚本语言,可以用来更改页面内容,控制多媒体,制作图像、动画等等 例子 * 修改页面内容 js 代码位置 ```html ``` 引入 js 脚本 ```html ``` * 注意,到了框架之后,引入方式会有不同 ## 1. 变量与数据类型 ### 声明变量
阅读全文
摘要:第一章. HTML 与 CSS HTML 是什么:即 HyperText Markup language 超文本标记语言,咱们熟知的网页就是用它编写的,HTML 的作用是定义网页的内容和结构。 HyperText 是指用超链接的方式组织网页,把网页联系起来 Markup 是指用 <标签> 的方式赋予
阅读全文
摘要:1、首先创建一个maven项目 2、导入相关的依赖 注意:lombok的版本 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www
阅读全文
摘要:pom.xml <properties> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <project.build.sourceEncoding
阅读全文
摘要:List<String> list = new ArrayList<>(); boolean a = list.stream().anyMatch("a"::equals); // If the stream is empty then false is returned and the predi
阅读全文