Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
43b2890d
Commit
43b2890d
authored
Mar 26, 2020
by
guo_minglei@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除测试方法
parent
5559c0b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
ApiNodeController.java
...h-admin/src/main/java/com/byit/api/ApiNodeController.java
+0
-8
No files found.
byit-myth-admin/src/main/java/com/byit/api/ApiNodeController.java
View file @
43b2890d
package
com
.
byit
.
api
;
package
com
.
byit
.
api
;
import
com.byit.dto.web.ResponseResult
;
import
com.byit.service.ApiNodeService
;
import
com.byit.service.ApiNodeService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
org.springframework.data.redis.core.StringRedisTemplate
;
import
org.springframework.data.redis.core.StringRedisTemplate
;
...
@@ -27,11 +26,4 @@ public class ApiNodeController {
...
@@ -27,11 +26,4 @@ public class ApiNodeController {
return
monitorKey
;
return
monitorKey
;
}
}
@RequestMapping
(
"/test"
)
public
ResponseResult
test
(
String
key
){
stringRedisTemplate
.
opsForValue
().
set
(
key
,
"123"
);
stringRedisTemplate
.
convertAndSend
(
key
,
"123"
);
return
ResponseResult
.
ok
(
"ok"
);
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment