forked from fanruan/demo-tabledata-redis
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
452 B
13 lines
452 B
6 years ago
|
package com.fr.plugin.db.redis;
|
||
|
|
||
|
import com.fr.web.struct.Component;
|
||
|
import com.fr.web.struct.browser.RequestClient;
|
||
|
import com.fr.web.struct.category.ScriptPath;
|
||
|
|
||
|
public class RedisConnectionComponent extends Component {
|
||
|
public static final RedisConnectionComponent KEY = new RedisConnectionComponent();
|
||
|
@Override
|
||
|
public ScriptPath script(RequestClient req) {
|
||
|
return ScriptPath.build("com/fr/plugin/db/redis/web/redis.js");
|
||
|
}
|
||
|
}
|