Commit 43b2890d by guo_minglei@163.com

去除测试方法

parent 5559c0b9
package com.byit.api;
import com.byit.dto.web.ResponseResult;
import com.byit.service.ApiNodeService;
import io.swagger.annotations.Api;
import org.springframework.data.redis.core.StringRedisTemplate;
......@@ -27,11 +26,4 @@ public class ApiNodeController {
return monitorKey;
}
@RequestMapping("/test")
public ResponseResult test(String key){
stringRedisTemplate.opsForValue().set(key, "123");
stringRedisTemplate.convertAndSend(key, "123");
return ResponseResult.ok("ok");
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment