- 博客(6)
- 收藏
- 关注
原创 JAVA 分页工具类
1. 引入依赖 <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> </dependency>2. 实现类import com.github.pagehelper.Page;
2021-09-28 17:22:49
198
原创 IDEA 编译项目时报错:GC overhead limit exceeded解决方法
1.问题简述在Intellij IDEA下编译Java项目,报错:java.lang.OutOfMemoryError: ...(此处忽略) GC overhead limit exceeded2.问题分析错误是发生在编译阶段,而不是运行阶段。通过查询相关资料发现,1.idea编译Java项目使用的虚拟机和idea软件自身使用的虚拟机是分开的(也就是独立的进程)2.只需要给编译器使用的虚拟机加内存就可以解决问题3. 还有一种IDEA运行时报错的解决方案:...
2021-09-26 18:08:21
5633
1
原创 微信企业支付--用户提现到微信钱包余额Java实现
参考文档:【微信支付】付款开发者文档1. 实体类(入参,结果类)import io.swagger.annotations.ApiModel;import io.swagger.annotations.ApiModelProperty;import lombok.Data;import org.hibernate.validator.constraints.Length;/** * 提现到微信钱包入参dto * @author ljchen */@Data@ApiModel(v
2021-09-23 11:36:20
2084
2
原创 Idea中Run/Debug configurations配置的使用及参数的解释
使用SpringBoot配置启动:Use classpath of module选中要运行的模块VM options:内部配置参数-Dserver.port=9595 -Dspring.profiles.active=dev1 -Ddebugserver.port可以设置端口号,spring.profiles.active=test可以设置运行环境-Ddebug 开启debug模式如:vm中-Xms512m -Xmx512m -XX:PermSize=64M -XX:MaxPe...
2021-09-14 18:58:55
13286
原创 JSONObject,JSONArray排序
package com.battle.platform;import com.alibaba.fastjson.JSONArray;import com.alibaba.fastjson.JSONException;import com.alibaba.fastjson.JSONObject;import com.battle.platform.utils.DateUtils;import java.text.DateFormat;import java.text.SimpleDateFo.
2021-09-10 18:12:33
451
原创 java生成微信小程序二维码,前台扫描识别
1.OkHttpUtilspackage com.battle.platform.utils;import okhttp3.*;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Component;import java.util.Map;@Componentpublic class OkHttpUtils { priva..
2021-09-10 17:53:13
965
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人