Update RedisDS.java

解决 "object not serializable" 问题
This commit is contained in:
intflag 2020-12-18 11:40:34 +08:00 committed by GitHub
parent 620f660bdf
commit 8236716032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,8 @@ import java.io.Closeable;
* @author looly
* @since 3.2.3
*/
public class RedisDS implements Closeable{
public class RedisDS implements Closeable, Serializable{
private static final long serialVersionUID = -5605411972456177456L;
/** 默认配置文件 */
public final static String REDIS_CONFIG_PATH = "config/redis.setting";