|
@@ -35,7 +35,7 @@ public class PageImgController extends BaseController {
|
35
|
35
|
@Autowired
|
36
|
36
|
private IPageImgService iPageImgService;
|
37
|
37
|
|
38
|
|
- @ApiOperation(value = "首页图片", notes = "首页图片")
|
|
38
|
+ @ApiOperation(value = "后台首页图片", notes = "后台首页图片")
|
39
|
39
|
@ApiImplicitParams({
|
40
|
40
|
@ApiImplicitParam(paramType = "Query",dataType = "String",name = "id",value = "id为空时查所有" ),
|
41
|
41
|
})
|
|
@@ -66,4 +66,15 @@ public class PageImgController extends BaseController {
|
66
|
66
|
return responseBean;
|
67
|
67
|
}
|
68
|
68
|
|
|
69
|
+ @ApiOperation(value = "后台添加首页图片", notes = "后台添加首页图片")
|
|
70
|
+ @ApiImplicitParams({
|
|
71
|
+ @ApiImplicitParam(paramType = "Query",dataType = "String",name = "id",value = "id为空时查所有" ),
|
|
72
|
+ })
|
|
73
|
+ @RequestMapping(value = "/pageIm", method = RequestMethod.GET)
|
|
74
|
+ public ResponseBean apageImgSelect(@RequestParam(value = "id",required = false)String id) {
|
|
75
|
+
|
|
76
|
+ ResponseBean responseBean = iPageImgService.apageImgSelect(id);
|
|
77
|
+ return responseBean;
|
|
78
|
+ }
|
|
79
|
+
|
69
|
80
|
}
|