| | |
| | | } |
| | | return AjaxResult.success(new TUseGuide()); |
| | | } |
| | | @DeleteMapping("/delete{id}") |
| | | @DeleteMapping("/delete") |
| | | @ApiOperation(value = "使用指南-删除", tags = {"使用指南"}) |
| | | public AjaxResult updateUseGuide(@PathVariable Integer id) { |
| | | public AjaxResult updateUseGuide( Integer id) { |
| | | // TUseGuide useGuide2 = useGuideService.getById(id); |
| | | useGuideService.removeById(id); |
| | | return AjaxResult.success("删除成功"); |
| | | } |
| | | |
| | | @GetMapping("/shareInfo") |
| | | @ApiOperation(value = "获取分享图片、标题及可获积分数", tags = {"获取分享图片、标题及可获积分数"}) |
| | | public R<TSysSet> shareInfo() { |
| | | return R.ok(sysSetService.lambdaQuery().one()); |
| | | } |
| | | |
| | | } |
| | | |