5分钟快速入门!
API访问支持POST(JSON)操作。服务地址:http://prd.fdas.com.cn/x-redis-core-service
缓存操作
[设置]-[创建令牌],生成缓存令牌。
1.设置, /api/cache/cache/setCache
参数: {"name":"key","data":"value",code:"token",expirationMinute:"5"}
2.获取, /api/cache/cache/getCache
参数: {"name":"key",code:"token"}
3.移除, /api/cache/cache/removeCache
参数: {"name":"key",code:"token"}
4.[查询]-[缓存查询],可以查询当前有效的缓存数据。
队列消息操作
[查询]-[队列查询],生成推/拉队列,并生成并复制队列令牌
1.发送消息, /api/queue/queue/sendMsg
参数: {"msg":"key",code:"token","delaySecond":0} 当delaySecond大于0时,是延迟队列消息。
2.拉队列拉取消息, /api/queue/queue/pullMsg
参数: {"size":"20",code:"token"}
3.推队列会自动推送消息到队列设置的服务地址
[查询]-[消息查询],可以查询到每一条消息以及消息的日志。
联系邮箱:wangerzailushang@qq.com