- 博客(9)
- 收藏
- 关注
原创 MybatisPlusConfig配置
setLimit(-1) 设置最大单页限制数量为 -1,表示不受限制,可以返回任意数量的记录。MybatisPlusConfig 类定义了一个名为 paginationInterceptor 的 Bean,并通过 @Bean 注解标记该方法将返回一个对象,Spring会将其注册为一个 Bean。”) 注解用于扫描指定包下的 Mapper 接口,将其注册为 Spring Bean,使其可以被其他组件自动注入使用。@Configuration 注解表示这是一个配置类,Spring会自动识别并加载该类的配置。
2023-07-10 14:17:15
2486
1
原创 docker build 报错 alpine RUN apk add 添加dns配置可解决
docker build 报错 alpine RUN apk add 添加dns配置可解决
2023-01-05 15:07:35
1419
原创 400错误码 HttpRequest.get 中文参数问题
URLUtil.encode 封装URLEncoder.encode,将需要转换的内容(ASCII码形式之外的内容),用十六进制表示法转换出来,并在之前加上%开头。URLEncode,将普通字符创转换成application/x-www-from-urlencoded字符串。HttpRequest.get 返回Error request, response status: 400。在java开发中,有时候需要将url 或者字符传进行转码,保证传输的时候不出现乱码。get请求参数中有中文。
2022-08-25 11:16:07
1568
原创 springboot基本配置
开始一个springboot项目完成application.propertiesspring.datasource.url=jdbc:mysql://127.0.0.1:3306/points_management?useSSL=false&allowMultiQueries=truespring.datasource.username=rootspring.datasource.password=rootspring.datasource.driver-class-name=com
2021-10-26 17:37:57
146
原创 springboot maven profile 不同环境用不同的properties
<profiles> <profile> <id>test</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> ...
2021-10-26 09:52:10
269
jackcess-4.0.5.jar
2023-02-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人