diff --git a/blank.png b/blank.png
new file mode 100644
index 0000000..b71b21c
Binary files /dev/null and b/blank.png differ
diff --git a/pom.xml b/pom.xml
index 4aa36da..f38a3dc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -103,6 +103,49 @@
2.2
+
+
+ cn.hutool
+ hutool-all
+ 5.8.26
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-data-redis
+
+
+
+
+ com.google.code.gson
+ gson
+ 2.8.8
+
+
+
+
+
+ com.github.wechatpay-apiv3
+ wechatpay-java
+ 0.2.12
+
+
+ com.github.wechatpay-apiv3
+ wechatpay-apache-httpclient
+ 0.4.9
+
+
+
+ com.github.binarywang
+ wx-java-miniapp-spring-boot-starter
+ 4.4.0
+
+
+
+
+
+
diff --git a/src/main/java/com/greenorange/promotion/config/RedisConfig.java b/src/main/java/com/greenorange/promotion/config/RedisConfig.java
new file mode 100644
index 0000000..74202a9
--- /dev/null
+++ b/src/main/java/com/greenorange/promotion/config/RedisConfig.java
@@ -0,0 +1,28 @@
+package com.greenorange.promotion.config;
+
+
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.data.redis.connection.RedisConnectionFactory;
+import org.springframework.data.redis.core.RedisTemplate;
+import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;
+import org.springframework.data.redis.serializer.StringRedisSerializer;
+
+@Configuration
+public class RedisConfig {
+
+ @Bean
+ public RedisTemplate redisTemplate(RedisConnectionFactory factory) {
+ RedisTemplate redisTemplate = new RedisTemplate<>();
+ redisTemplate.setConnectionFactory(factory);
+
+ // 指定kv的序列化方式
+ Jackson2JsonRedisSerializer