自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 获取微信小程序邀请码并下载

public void getQrCode(HttpServletResponse response, code) { // req举例{“scene”:“500003#461”,“page”:“pages/index/index”,“width”:300} JSONObject object = new JSONObject(); object.put("scene", "code=" + code); byte[] bytes = ...

2021-01-26 14:42:55 3644

原创 微信接口处理工具类

package org.jeecg.common.util;import com.baomidou.mybatisplus.core.toolkit.StringUtils;import org.dom4j.Document;import org.dom4j.DocumentException;import org.dom4j.DocumentHelper;import org.dom4j.Element;import java.lang.reflect.Field;import java

2021-01-26 14:26:29 200

原创 RestTemplate修改为utf8编码,解决微信api响应体乱码

import org.springframework.beans.factory.annotation.Autowired;import org.springframework.boot.web.client.RestTemplateBuilder;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.sprin

2021-01-26 12:02:13 869

翻译 jeecgboot笔记

新建module,需要导入controller,mapper ;https://blog.csdn.net/gwcgwcjava/article/details/95967349swagger 识别新加的模块的接口 ;org/jeecg/config/Swagger2Config.javahttps://blog.csdn.net/weixin_41638438/article/details/100762537删除验证码验证;https://blog.csdn.net/qq_33342112/art.

2021-01-26 11:34:14 325

原创 Java通用List转树-函数版-BiConsumer示例

在网上搜了下list转树,大部分都是递归和两个for循环,无意间发现了这条博客https://www.cnblogs.com/zhizhao/p/9956158.html,感觉时间复杂度要好很多。但生成的树是json格式(虽然前端要的就是json),date类型会转成时间戳,null的字段会被去掉,所以就改写成下面这种返回值是list的。要转换的模型:import java.util.List...

2019-08-22 18:21:34 3107 2

原创 mysql修改datetime为自动更新时间

在Navicat图形界面上直接修改不了默认值ALTER TABLE student CHANGE timet timet datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;

2019-06-20 15:23:29 8364 2

转载 MyBatis Generator gradle mysql8.0

https://www.cnblogs.com/xqz0618/archive/2019/02/15/MybatisGeneratorError.html <!--数据库连接的信息:驱动类、连接地址、用户名、密码 --> <jdbcConnection driverClass="${driverClass}" ...

2019-03-29 09:54:32 634

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除