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
QianQiXiang
haoban-manage3.0
Commits
9beac2aa
Commit
9beac2aa
authored
Jun 29, 2021
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群发定时触发任务 测试接口
parent
7d95ebb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletions
+17
-1
TestTaskController.java
...haoban/manage/web/controller/test/TestTaskController.java
+17
-1
No files found.
haoban-manage3-operation-web/src/main/java/com/gic/haoban/manage/web/controller/test/TestTaskController.java
View file @
9beac2aa
...
...
@@ -4,7 +4,6 @@ import com.gic.haoban.common.utils.HaobanResponse;
import
com.gic.haoban.manage.api.service.HandoverOperationApiService
;
import
com.gic.haoban.manage.web.controller.WebBaseController
;
import
com.gic.haoban.manage.web.errCode.HaoBanErrCode
;
import
com.gic.haoban.task.manage.api.service.IGroupSendDetailApiService
;
import
com.gic.haoban.task.manage.api.service.TaskQuartzCallbackApiService
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -71,6 +70,23 @@ public class TestTaskController extends WebBaseController {
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
@RequestMapping
(
"/setTest"
)
@ResponseBody
public
HaobanResponse
setTest
(
String
str
)
{
if
(
StringUtils
.
isBlank
(
str
))
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
}
taskQuartzCallbackApiService
.
setTest
(
str
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
@RequestMapping
(
"/delTest"
)
@ResponseBody
public
HaobanResponse
delTest
()
{
taskQuartzCallbackApiService
.
delTest
();
return
resultResponse
(
HaoBanErrCode
.
ERR_1
);
}
@RequestMapping
(
"/dealQywxEnterpriseHandover"
)
@ResponseBody
public
HaobanResponse
dealQywxEnterpriseHandover
(
String
str
)
{
...
...
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