摘要: Spring Boot Spring Boot | 整合 Minio 实现文件上传 Spring Boot | 文件上传的两种实现方式 Spring Boot | 配置文件 Spring Boot 集成 Logback 日志:控制台彩色日志输出 + 日志文件输出 Spring Boot 整合 Jas 阅读全文
posted @ 2022-05-18 18:25 汪小成 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 为什么要统一返回结果的格式? 目前我们做的项目大体都会是前后端分离的。为了使数据使用者(包括但不限于前端工程师)能够更好地处理返回结果,不至于为了处理各式各样的返回数据格式而抓狂,所以我们需要定义一个统一的标准的返回格式。 标准的返回格式需要包含哪几部分? 一个标准的返回格式至少要包含3部分: st 阅读全文
posted @ 2022-05-12 17:02 汪小成 阅读(233) 评论(0) 推荐(0) 编辑
摘要: **MySQL版本:**Server version: 8.0.28 MySQL Community Server **JEECG-BOOT版本:**3.1.0 问题描述: jeecg-boot连接本地数据库报错。 异常信息详情: 2022-05-10 09:32:08.329 [Druid-Con 阅读全文
posted @ 2022-05-10 13:25 汪小成 阅读(1029) 评论(0) 推荐(0) 编辑
摘要: 运行gitbook init命令报错,错误信息如下: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataV 阅读全文
posted @ 2021-07-28 14:25 汪小成 阅读(1375) 评论(0) 推荐(0) 编辑
摘要: 将 summary-generator.py 放在已知根目录下。 开发环境: macOS python 3 完整代码: #!/usr/bin/python # -*- coding: UTF-8 -*- import os, sys path = "." result_list = [] resul 阅读全文
posted @ 2021-07-27 21:54 汪小成 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 方式 一:Jackson 引入jackson-databind: <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.11.3< 阅读全文
posted @ 2021-02-18 14:34 汪小成 阅读(7122) 评论(0) 推荐(0) 编辑
摘要: 使用Hutool解析模板字符串 **要求:**使用 占位 **评价:**如果paramMap中含有大量无用键值时不推荐使用这种方式 引入依赖: <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> 阅读全文
posted @ 2021-01-27 10:00 汪小成 阅读(757) 评论(0) 推荐(0) 编辑
摘要: 运行环境 操作系统:win7 Node.js版本:v6.10.3 问题描述 安装完Node.js,运行命令 ,按照惯例写了一个 示例,代码如下: 运行JS文件,报错 。 解决方法 查了下资料,网上说是要配置环境变量(坑爹的书上安装Node.js的时候没有提这回事啊)。 配置环境变量 : 备注: 默认 阅读全文
posted @ 2017-06-01 23:42 汪小成 阅读(525) 评论(0) 推荐(0) 编辑
摘要: .properties 配置文件读取 情境一:JAVA 读取 .properties 配置 情境二:在 Spring MVC 配置文件 dispatcher servlet.xml 文件中读取 .properties 配置文件 情境三:使用 Spring MVC 注解 在项目启动时自动注入属性值 情 阅读全文
posted @ 2017-03-15 22:29 汪小成 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 背景 在学习 时,使用 创建了一个Vue项目, 文件中有一行代码不知道是什么意思。在网上搜索了下,得到了答案,在此记录下。 main.js 文件内容 这是什么,完全看不懂啊!!!So Google 解惑释疑 等价于 等价于 即: "createElement 参数" 看了 createElement 阅读全文
posted @ 2017-02-17 10:39 汪小成 阅读(9111) 评论(0) 推荐(3) 编辑