| | |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | * @author ard |
| | | * @date 2023-07-22 |
| | | */ |
| | | @Api(tags = "app任务管理") |
| | | @RestController |
| | | @RequestMapping("/app/task") |
| | | public class ArdAppTaskController extends BaseController |
| | |
| | | /** |
| | | * 查询app任务管理列表 |
| | | */ |
| | | @ApiOperation("查询app任务管理列表") |
| | | @PreAuthorize("@ss.hasPermi('app:task:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ArdAppTask ardAppTask) |
| | |
| | | /** |
| | | * 获取app任务管理详细信息 |
| | | */ |
| | | @ApiOperation("获取app任务管理详细信息") |
| | | @PreAuthorize("@ss.hasPermi('app:task:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") String id) |
| | |
| | | /** |
| | | * 新增app任务管理 |
| | | */ |
| | | @ApiOperation("新增app任务管理") |
| | | @PreAuthorize("@ss.hasPermi('app:task:add')") |
| | | @Log(title = "app任务管理", businessType = BusinessType.INSERT) |
| | | @PostMapping |