churf
2023-08-16 582a85fd7454c62710713744e9bc7e3a458e14d2
eladmin-master/eladmin-common/src/main/java/me/zhengjie/config/RedisConfig.java
@@ -87,10 +87,14 @@
        ParserConfig.getGlobalInstance().addAccept("me.zhengjie.modules.mnt.domain");
        ParserConfig.getGlobalInstance().addAccept("me.zhengjie.modules.quartz.domain");
        ParserConfig.getGlobalInstance().addAccept("me.zhengjie.modules.system.domain");
        ParserConfig.getGlobalInstance().addAccept("me.zhengjie.modules.task.domain");
        // 模块内的 Dto
        ParserConfig.getGlobalInstance().addAccept("me.zhengjie.modules.mnt.service.dto");
        ParserConfig.getGlobalInstance().addAccept("me.zhengjie.modules.quartz.service.dto");
        ParserConfig.getGlobalInstance().addAccept("me.zhengjie.modules.security.service.dto");
        ParserConfig.getGlobalInstance().addAccept("me.zhengjie.modules.system.service.dto");
        // key的序列化采用StringRedisSerializer
        template.setKeySerializer(new StringRedisSerializer());