Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
e6442ef7
Commit
e6442ef7
authored
Aug 13, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
f7b870e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
TestController.java
...gic/haoban/manage/web/controller/test/TestController.java
+16
-0
No files found.
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/test/TestController.java
View file @
e6442ef7
...
...
@@ -15,6 +15,7 @@ import com.gic.haoban.manage.web.controller.WebBaseController;
import
com.gic.haoban.manage.web.errCode.HaoBanErrCode
;
import
com.gic.member.tag.api.service.MemberTagImportDealService
;
import
com.gic.mq.sdk.GicMQClient
;
import
com.gic.redis.data.util.RedisUtil
;
import
com.gic.sharing.core.service.api.service.MqApiService
;
import
com.task.allocation.qo.AllocationTaskQo
;
import
com.task.allocation.qo.TaskAllocationComputed
;
...
...
@@ -263,4 +264,19 @@ public class TestController extends WebBaseController {
}
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
@RequestMapping
(
"/get-cache"
)
public
Object
getCache
(
String
key
)
{
Object
o
=
RedisUtil
.
getCache
(
key
)
;
return
o
;
}
@RequestMapping
(
"/del-cache"
)
public
Object
delCache
(
String
key
)
{
Object
o
=
RedisUtil
.
getCache
(
key
)
;
if
(
null
!=
o
)
{
RedisUtil
.
delCache
(
key
);
}
return
o
;
}
}
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