- 博客(11)
- 收藏
- 关注
转载 小程序MD5加密(支持中文、emoji)
在请求后台时出现中文、emoji表情时,与java服务端MD5机密不一致解决 (function($) { 'use strict' /** * Add integers, wrapping at 2^32. * This uses 16-bit operations internally to work around bugs in interpreters. * * @param {number} x First integer
2021-04-27 14:43:28
457
转载 小程序自定义下拉刷新
前言由于官方提供的onPullDownRefresh下拉刷新,在我们自定义导航栏的情况下会把加载动画遮住,看了官方解释也是不能调动加载动画的位置,就只能是自定义下拉刷新了正文wxml <scroll-view scroll-y style="height: 100ch;" enable-back-to-top="true" bindscrolltolower='onReachBottom' <!-- 监听布局touch事件 --> <view
2021-04-20 19:38:44
1020
原创 java集成环信SDK用户注册
环信常量类import org.springframework.stereotype.Component;/** * 环信常量保存工具类 * * @author zhangxj * */@Componentpublic class HuanxinConstant { public static final String CLIENT_ID = "**Client ID**"; //替换成自己CLIENT_ID public static final String CLIENT
2021-03-25 10:48:02
543
原创 HttpClient工具类
加载maven依赖 <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>3.1</version> </dependency>工具类import java.io.ByteArrayInputStream;im
2021-03-25 10:22:54
176
转载 java生成二维码并导出成Excel
需求:要求后台数据导出时,增加一列二维码对应相应的记录引入maven <dependency> <groupId>org.iherus</groupId> <artifactId>qrext4j</artifactId> <version>1.3.1</version> </dependency>
2020-10-16 09:57:43
2120
6
转载 Springboot上传图片到七牛云
Springboot上传图片到七牛云首先是页面,页面模板引擎用thymeleaf,所以需要引入一个依赖 <!--thymeleaf模板引擎--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-...
2020-03-14 10:20:56
394
1
原创 ActiveMQ配置mysql
ActiveMQ配置mysql1.配置activemq.xml(在apache-activemq-5.15.8\conf下)(1)打开activemq.xml,在broker节点下添加<persistenceAdapter> <kahaDB directory="${activemq.data}/kahadb"/> <jdbcPersistenc...
2020-02-13 17:29:56
259
原创 ActiveMQ集成SpringBoot
ActiveMQ集成SpringBoot(1)创建项目导入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-activemq</artifact...
2020-02-12 11:38:37
156
1
原创 ActiveMQ整合Spring
ActiveMQ整合Spring(1)导入整合ActiveMQ整合所需要得jar包<properties> <activemq.version>5.15.9</activemq.version> <spring.version>5.2.2.RELEASE</spring.version> ...
2020-02-11 16:05:40
78
原创 mybatis-plus配置控制台打印完整带参数SQL语句
mybatis-plus配置控制台打印完整带参数SQL语句mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
2019-11-22 10:47:40
1598
原创 解决使用mybatis-plus时,生成的SQL大写变小写加下划线
解决使用mybatis-plus时,生成的SQL大写变小写加下划线在application.xml加上以下配置mybatis-plus.configuration.map-underscore-to-camel-case=false
2019-11-22 10:30:18
13759
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人