Browse Source

Merge branch 'refactor' of Elijah/demo-tabledata-redis into refactor

refactor
richie 5 years ago committed by Gogs
parent
commit
9a5ec86fba
  1. 5
      src/main/java/com/fr/plugin/db/redis/RedisConnectionComponent.java

5
src/main/java/com/fr/plugin/db/redis/RedisConnectionComponent.java

@ -2,6 +2,7 @@ package com.fr.plugin.db.redis;
import com.fr.web.struct.Component; import com.fr.web.struct.Component;
import com.fr.web.struct.browser.RequestClient; import com.fr.web.struct.browser.RequestClient;
import com.fr.web.struct.category.ParserType;
import com.fr.web.struct.category.ScriptPath; import com.fr.web.struct.category.ScriptPath;
import com.fr.web.struct.category.StylePath; import com.fr.web.struct.category.StylePath;
@ -9,11 +10,11 @@ public class RedisConnectionComponent extends Component {
public static final RedisConnectionComponent KEY = new RedisConnectionComponent(); public static final RedisConnectionComponent KEY = new RedisConnectionComponent();
@Override @Override
public ScriptPath script(RequestClient req) { public ScriptPath script(RequestClient req) {
return ScriptPath.build("com/fr/plugin/db/redis/web/redis.js"); return ScriptPath.build("com/fr/plugin/db/redis/web/redis.js", ParserType.DYNAMIC);
} }
@Override @Override
public StylePath style(RequestClient req) { public StylePath style(RequestClient req) {
return StylePath.build("com/fr/plugin/db/redis/web/redis.css"); return StylePath.build("com/fr/plugin/db/redis/web/redis.css", ParserType.DYNAMIC);
} }
} }
Loading…
Cancel
Save