|
1
2
3
|
package com.huaheng.api.wcs.controller;
import com.huaheng.api.wcs.service.taskCancel.TaskCancelService;
|
|
4
|
import com.huaheng.framework.aspectj.lang.annotation.ApiLogger;
|
|
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import com.huaheng.framework.web.controller.BaseController;
import com.huaheng.framework.web.domain.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* Created by Enzo Cotter on 2019/12/6.
*/
@RestController
@RequestMapping("/API/taskInfo")
public class TaskInfoController extends BaseController {
@Resource
private TaskCancelService taskCancelService;
@GetMapping
|
|
25
|
@ApiLogger(apiName = "取消任务", from="WCS")
|
|
26
27
28
29
|
public AjaxResult info(Integer id) {
return taskCancelService.TaskCance(id);
}
}
|