Watch 3 Star 8 Fork 18

ssssssss-team / spider-flow-redisJavaMIT

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
小东 authored v0.5.0
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

spider-flow-redis

介绍

spider-flow Redis插件

使用方法

导入db文件夹sp_redis.sql文件到数据库
在 spider-flow-web/pom.xml引用

<dependency>
 	<groupId>org.spiderflow</groupId>
 	<artifactId>spider-flow-redis</artifactId>
 	<version>0.0.1</version>
</dependency>

使用操作

首先先创建Redis数据源 使用如下方式进行调用

${redis.use('aliasName(创建Redis数据源时填写的别名)').set('key','value')}  
${redis.aliasName(创建Redis数据源时填写的别名).set('key','value')} 
${redis.aliasName(创建Redis数据源时填写的别名).get('key')} 
${redis.aliasName(创建Redis数据源时填写的别名).setex('key',10,'value')} 

Comments ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/ssssssss-team/spider-flow-redis.git
git@gitee.com:ssssssss-team/spider-flow-redis.git
ssssssss-team
spider-flow-redis
spider-flow-redis
master

Search

231008 48f1a665 1899542 231017 9a6720c6 1899542