|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package com.huaheng.api.wcs.controller;
import com.huaheng.api.wcs.service.taskCancel.TaskCancelService;
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
public AjaxResult info(Integer id) {
return taskCancelService.TaskCance(id);
}
}
|