TaskInfoController.java
772 Bytes
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);
    }
}