该文被密码保护。 阅读全文
posted @ 2020-08-25 13:25 洋三岁 阅读(3) 评论(0) 推荐(0)
摘要: SpringBoot整合Redis遇见的坑 <!--Redis配置开始--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId 阅读全文
posted @ 2020-08-25 12:06 洋三岁 阅读(509) 评论(0) 推荐(0)
摘要: css样式 style="filter:grayscale(100%)" 阅读全文
posted @ 2020-08-17 10:29 洋三岁 阅读(194) 评论(0) 推荐(0)
摘要: 1.在配置类配置常用参数 /** * OSS配置 * * @author Yang * */ public class Config { // Endpoint protected static final String ENDPOINT = "oss-cn-beijing.aliyuncs.com 阅读全文
posted @ 2020-07-06 12:55 洋三岁 阅读(2054) 评论(0) 推荐(0)
摘要: wrapper.between(column, val1, val2) wrapper.groupBy(columns) //对应sql中分组 wrapper.eq(column, params) //相当于where条件 wrapper.in(column, value) //sql中in wra 阅读全文
posted @ 2020-07-02 14:53 洋三岁 阅读(1594) 评论(0) 推荐(0)
摘要: 一、导入Maven依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> <version>2.1.7.RELEASE</version 阅读全文
posted @ 2020-06-23 16:13 洋三岁 阅读(323) 评论(0) 推荐(0)
摘要: 注意:获取到unionid需要绑定到公众平台否则获取不到 直接代码 1.第一步在application.yml中添加必要配置 #配置微信的信息 wx: appId: appSecret: grantType: authorization_code requestUrl: https://api.we 阅读全文
posted @ 2020-06-08 15:14 洋三岁 阅读(827) 评论(0) 推荐(0)
摘要: 1.准备资料 (1)服务商id (2)服务商Appid (3)程序商户的appid (4)小程序商户号ID (5)服务商的APIKey (5)证书 (6)证书密码 以上资料准备完善 先去看看微信支付的官方的API 根据你的需要找到具体的 https://pay.weixin.qq.com/wiki/ 阅读全文
posted @ 2020-06-08 15:08 洋三岁 阅读(1034) 评论(0) 推荐(0)
摘要: 前言 前段时间关于统计数量的sql问题和朋友进行了讨论,网上关于这三种查询方式说法不一,主要有以下两种说法。 count(*) = count(主键) > count(1) count(主键) > count(*) > count(1) 今天对这三种方式进行探究。 数据库为mysql 5.7.12, 阅读全文
posted @ 2020-03-15 03:32 洋三岁 阅读(632) 评论(0) 推荐(0)
摘要: spring: mail: host: smtp.qq.com username: 邮箱账号 password: 授权码 default-encoding: UTF-8 port: 465 mvc: hiddenmethod: filter: #开启MVC对 DELETE PUT 等方法的支持 en 阅读全文
posted @ 2020-03-15 03:12 洋三岁 阅读(436) 评论(0) 推荐(0)
友情链接: 梦想农夫