|
@@ -11,6 +11,13 @@ import org.springframework.data.redis.serializer.SerializationException;
|
|
|
|
|
|
import java.util.Objects;
|
|
import java.util.Objects;
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * @description: fast2 json 格式化默认和web-api 保持一致
|
|
|
|
+ * @param:
|
|
|
|
+ * @return:
|
|
|
|
+ * @author zhangyy
|
|
|
|
+ * @date: 2024/9/19 14:09
|
|
|
|
+ */
|
|
@Slf4j
|
|
@Slf4j
|
|
public class FastJson2RedisSerializer<T> implements RedisSerializer<T> {
|
|
public class FastJson2RedisSerializer<T> implements RedisSerializer<T> {
|
|
|
|
|