| | |
| | | /** |
| | | * 查询小程序主页轮播图列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:banner:list')") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:banner:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询小程序主页轮播图列表") |
| | | public TableDataInfo list(AppBanner appBanner) { |
| | |
| | | //@PreAuthorize("@ss.hasPermi('hosp:banner:export')") |
| | | @Log(title = "小程序主页轮播图", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | @ApiOperation(value = "导出小程序主页轮播图列表") |
| | | //@ApiOperation(value = "导出小程序主页轮播图列表") |
| | | public void export(HttpServletResponse response, AppBanner appBanner) { |
| | | List<AppBanner> list = appBannerService.selectAppBannerList(appBanner); |
| | | ExcelUtil<AppBanner> util = new ExcelUtil<AppBanner>(AppBanner.class); |
| | |
| | | /** |
| | | * 获取小程序主页轮播图详细信息 |
| | | */ |
| | | @ApiOperation(value = "获取小程序主页轮播图详细信息") |
| | | //@ApiOperation(value = "获取小程序主页轮播图详细信息") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:banner:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | |
| | | /** |
| | | * 新增小程序主页轮播图 |
| | | */ |
| | | @ApiOperation(value = "新增小程序主页轮播图") |
| | | //@ApiOperation(value = "新增小程序主页轮播图") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:banner:add')") |
| | | @Log(title = "小程序主页轮播图", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | |
| | | /** |
| | | * 修改小程序主页轮播图 |
| | | */ |
| | | @ApiOperation(value = "修改小程序主页轮播图") |
| | | //@ApiOperation(value = "修改小程序主页轮播图") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:banner:edit')") |
| | | @Log(title = "小程序主页轮播图", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | |
| | | /** |
| | | * 删除小程序主页轮播图 |
| | | */ |
| | | @ApiOperation(value = "删除小程序主页轮播图") |
| | | //@ApiOperation(value = "删除小程序主页轮播图") |
| | | //@PreAuthorize("@ss.hasPermi('hosp:banner:remove')") |
| | | @Log(title = "小程序主页轮播图", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |