| | |
| | | @PostMapping("/add") |
| | | R add(@RequestBody EventApplicationAppReleaseAddDTO eventApplicationAppReleaseAddDTO){ |
| | | return eventApplicationAppReleaseService.add(eventApplicationAppReleaseAddDTO); |
| | | }; |
| | | } |
| | | |
| | | /** |
| | | * 修改APP应用版本信息 |
| | |
| | | @PostMapping("/edit") |
| | | R edit(@RequestBody EventApplicationAppReleaseEditDTO eventApplicationAppReleaseEditDTO){ |
| | | return eventApplicationAppReleaseService.edit(eventApplicationAppReleaseEditDTO); |
| | | }; |
| | | } |
| | | |
| | | /** |
| | | * 分页查找APP应用版本信息 |
| | |
| | | @PostMapping("/page") |
| | | R<IPage<EventApplicationAppReleaseVO>> query(@RequestBody PageEventApplicationAppReleaseDTO pageEventApplicationAppReleaseDTO){ |
| | | return eventApplicationAppReleaseService.query(pageEventApplicationAppReleaseDTO); |
| | | }; |
| | | } |
| | | |
| | | /** |
| | | * 删除APP应用版本信息 |
| | |
| | | @PostMapping("/delete") |
| | | R delete(@RequestBody EventApplicationAppReleaseDeleteDTO EventApplicationAppReleaseDeleteDTO){ |
| | | return eventApplicationAppReleaseService.delete(EventApplicationAppReleaseDeleteDTO); |
| | | }; |
| | | } |
| | | |
| | | /** |
| | | * 查询APP应用版本信息详细信息 |
| | |
| | | @PostMapping("/{id}") |
| | | R<EventApplicationAppReleaseDetailsVO> eventApplicationAppReleaseDetails(@PathVariable("id") Long id){ |
| | | return eventApplicationAppReleaseService.eventApplicationAppReleaseDetails(id); |
| | | }; |
| | | } |
| | | |
| | | /** |
| | | * 获取最新版本信息 |
| | | * @return 版本信息 |
| | | */ |
| | | @GetMapping("/edition") |
| | | public R editionUpdate(){ |
| | | return eventApplicationAppReleaseService.editionUpdate(); |
| | | } |
| | | |
| | | } |