上一页 1 2 3 4 5 6 ··· 53 下一页
摘要: Newtonsoft.Json Null 值默认转为 空 using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; using System. 阅读全文
posted @ 2024-11-22 16:07 VipSoft 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 升级系统 https://support.apple.com/zh-cn/mac 阅读全文
posted @ 2024-11-21 19:54 VipSoft 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 目录Fastjson2 序列化Redis.configRedisUtil.javafastjson和fastjson2的区别 Spring Data Redis 为我们提供了下面的Serializer:GenericToStringSerializer、Jackson2JsonRedisSerial 阅读全文
posted @ 2024-11-20 11:02 VipSoft 阅读(570) 评论(0) 推荐(0) 编辑
摘要: 目录MinIO Linux 安装单节点部署创建 systemd 系统启动服务文件创建环境变量文件启动MinIO服务连接到MinIO服务SpringBoot项目整合MinIO配置项工具类测试链接永不过期 MinIO 是一个基于Apache License v2.0开源协议的对象存储服务。它可以运行在多 阅读全文
posted @ 2024-11-19 10:07 VipSoft 阅读(638) 评论(0) 推荐(1) 编辑
摘要: SpringBoot 2.7.18 集成 Mybatis Plus + Druid 在数据库表定义json字段; 在实体类加上@TableName(autoResultMap = true) 在JSON字段映射的属性加上@TableField(typeHandler = JacksonTypeHan 阅读全文
posted @ 2024-11-05 23:45 VipSoft 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 目录创建表插入插入数据查询CAST()将字符串转成jsonJSON类型的解析JSON_EXTRACT()解析json-> 箭头函数解析jsonJSON_QUOTE()引用与JSON_UNQUOTE()取消引用->>箭头解析jsonJSON类型的查询JSON_CONTAINS()判断是否包含JSON_ 阅读全文
posted @ 2024-11-04 16:35 VipSoft 阅读(36) 评论(0) 推荐(0) 编辑
摘要: Mybatis plus 数据库时间对的,取出来后,时间少了8小时,数据连接的时区也是对的 数据库是对的 代码取出来是对的 接口返回的JSON不对 SpringBoot 返回默认采用 jackson ,出现这种情况在 @JsonFormat 加上时区 /** * 创建时间 */ @Schema(de 阅读全文
posted @ 2024-10-31 09:17 VipSoft 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 根据字符串,获取实体属性上的annotation,如:createTime” 找到对应实体属性中的 TableField(value = "create_time", fill = FieldFill.INSERT) Field[] fields = clazz.getFields(); //仅能获 阅读全文
posted @ 2024-10-30 17:18 VipSoft 阅读(40) 评论(0) 推荐(0) 编辑
摘要: org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [java.lang.String code] in method [void co 阅读全文
posted @ 2024-10-28 23:03 VipSoft 阅读(9) 评论(0) 推荐(0) 编辑
摘要: Mybatis plus 默认值 @TableField(fill = FieldFill.INSERT_UPDATE) @TableField(fill = FieldFill.INSERT_UPDATE)是什么 @TableField(fill = FieldFill.INSERT)、@Tabl 阅读全文
posted @ 2024-10-28 17:16 VipSoft 阅读(1387) 评论(0) 推荐(0) 编辑
摘要: 解决方法: 将 SSH 客户端更新为支持 sha2-256 和 sha2-512 算法的版本。 阅读全文
posted @ 2024-10-28 13:13 VipSoft 阅读(360) 评论(0) 推荐(0) 编辑
摘要: Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.1.13. 阅读全文
posted @ 2024-10-27 08:58 VipSoft 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 目录POMyml配置自定义的 OpenAPI 规范拦截器去除 swagger 的接口验证模型Controller 配置常用注解 注意:Swagger支持SpringBoot2.0但不支持SpringBoot3.0 OpenApi OpenApi是一个用于描述、定义和共享 RESTful API 文档 阅读全文
posted @ 2024-10-22 11:21 VipSoft 阅读(421) 评论(0) 推荐(1) 编辑
摘要: SpringBoot 2.3 升级到 SpringBoot 2.7 爬坑-- SpringDoc & Swagger When allowCredentials is true, allowedOrigins cannot contain the special value "*" since th 阅读全文
posted @ 2024-10-21 14:53 VipSoft 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 目录Pom 依赖yml 配置Config 配置Mapper扫描EntityMapper.xmlMapper - SysMenuMapperServiceController条件构造器 Mybatis Plus MySql json类型操作 mybatis-plus在mybatis的基础上只做增强不做 阅读全文
posted @ 2024-10-21 14:04 VipSoft 阅读(703) 评论(1) 推荐(2) 编辑
摘要: SpringBoot 2.3 升级到 SpringBoot 2.7 爬坑-- Swagger 报错 需要升级 到 3 详细见:https://www.cnblogs.com/vipsoft/p/18489922 SpringBoot 2.7 爬坑-- SpringDoc & Swagger (支持 阅读全文
posted @ 2024-10-19 21:37 VipSoft 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 确保 SpringBoot、SpringCloud 版本要配对 https://spring.io/projects/spring-cloud <java.version>1.8</java.version> <spring-boot.version>2.3.0.RELEASE</spring-bo 阅读全文
posted @ 2024-10-18 16:56 VipSoft 阅读(94) 评论(0) 推荐(0) 编辑
摘要: SpringBoot 2.3 升级到 SpringBoot 3.3 爬坑 SpringBoot 2.3.0 -> spring-webmvc-5.2.6 SpringBoot 3.3.4 -> spring-webmvc-6.1.13 java: 程序包javax.servlet.http不存在 i 阅读全文
posted @ 2024-10-18 16:29 VipSoft 阅读(153) 评论(0) 推荐(0) 编辑
摘要: StackExchange.Redis RedisHelper 工具类 Install-Package StackExchange.Redis using Microsoft.Extensions.Configuration; using StackExchange.Redis; using Sys 阅读全文
posted @ 2024-10-11 17:08 VipSoft 阅读(131) 评论(0) 推荐(0) 编辑
摘要: js 实现 string.format 功能 <script type="text/javascript"> var errorHtml = "<a title=\"{1}\" href=\"#\" onclick=\"\" class=\"ml-5\" style=\"text-decoratio 阅读全文
posted @ 2024-09-30 10:05 VipSoft 阅读(107) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 53 下一页
点击右上角即可分享
微信分享提示