|
|
@@ -49,22 +49,20 @@ public class JobInfoController {
|
|
49
|
49
|
@RequestMapping("/add")
|
|
50
|
50
|
@ResponseBody
|
|
51
|
51
|
public ReturnT<String> add(int jobGroup, String jobCron, String jobDesc, String author, String alarmEmail,
|
|
52
|
|
- String executorAppname, String executorAddress, String executorHandler, String executorParam,
|
|
53
|
|
- int glueSwitch, String glueSource, String glueRemark, String childJobKey) {
|
|
|
52
|
+ String executorHandler, String executorParam, int glueSwitch, String glueSource, String glueRemark, String childJobKey) {
|
|
54
|
53
|
|
|
55
|
54
|
return xxlJobService.add(jobGroup, jobCron, jobDesc, author, alarmEmail,
|
|
56
|
|
- executorAddress, executorHandler, executorParam,
|
|
|
55
|
+ executorHandler, executorParam,
|
|
57
|
56
|
glueSwitch, glueSource, glueRemark, childJobKey);
|
|
58
|
57
|
}
|
|
59
|
58
|
|
|
60
|
59
|
@RequestMapping("/reschedule")
|
|
61
|
60
|
@ResponseBody
|
|
62
|
61
|
public ReturnT<String> reschedule(int jobGroup, String jobName, String jobCron, String jobDesc, String author, String alarmEmail,
|
|
63
|
|
- String executorAppname, String executorAddress, String executorHandler, String executorParam,
|
|
64
|
|
- int glueSwitch, String childJobKey) {
|
|
|
62
|
+ String executorHandler, String executorParam, int glueSwitch, String childJobKey) {
|
|
65
|
63
|
|
|
66
|
64
|
return xxlJobService.reschedule(jobGroup, jobName, jobCron, jobDesc, author, alarmEmail,
|
|
67
|
|
- executorAddress, executorHandler, executorParam, glueSwitch, childJobKey);
|
|
|
65
|
+ executorHandler, executorParam, glueSwitch, childJobKey);
|
|
68
|
66
|
}
|
|
69
|
67
|
|
|
70
|
68
|
@RequestMapping("/remove")
|