| | |
| | | import com.ruoyi.system.dto.SysVersionUpdatePageRequest; |
| | | import com.ruoyi.system.service.ISysVersionUpdateService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | * 分页查询版本更新列表 |
| | | */ |
| | | @Log(title = "版本更新", businessType = BusinessType.SELECT) |
| | | @PreAuthorize("@ss.hasPermi('visitor:version:view')") |
| | | @PostMapping("/page") |
| | | public AjaxResult page(@RequestBody(required = false) SysVersionUpdatePageRequest request) |
| | | { |
| | |
| | | * 查看版本更新详情 |
| | | */ |
| | | @Log(title = "版本更新", businessType = BusinessType.SELECT) |
| | | @PreAuthorize("@ss.hasPermi('visitor:version:view')") |
| | | @PostMapping("/detail") |
| | | public AjaxResult detail(@RequestBody SysVersionUpdateDetailRequest request) |
| | | { |
| | |
| | | * 新增版本更新 |
| | | */ |
| | | @Log(title = "版本更新", businessType = BusinessType.INSERT) |
| | | @PreAuthorize("@ss.hasPermi('visitor:version:add')") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody SysVersionUpdateAddRequest request) |
| | | { |
| | |
| | | * 删除版本更新 |
| | | */ |
| | | @Log(title = "版本更新", businessType = BusinessType.DELETE) |
| | | @PreAuthorize("@ss.hasPermi('visitor:version:remove')") |
| | | @PostMapping("/delete") |
| | | public AjaxResult delete(@RequestBody SysVersionUpdateDeleteRequest request) |
| | | { |