|
@@ -33,7 +33,7 @@ import java.util.List;
|
|
@Controller
|
|
@Controller
|
|
@RequestMapping("/zhoushan/information")
|
|
@RequestMapping("/zhoushan/information")
|
|
@Slf4j
|
|
@Slf4j
|
|
-@Api(tags = "资讯管理模块")
|
|
|
|
|
|
+@Api(tags = "轮播管理模块")
|
|
public class InformationController {
|
|
public class InformationController {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
@@ -44,7 +44,7 @@ public class InformationController {
|
|
|
|
|
|
@PostMapping("addInformation")
|
|
@PostMapping("addInformation")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
- @WebControllerLog(description = "资讯管理-新增资讯")
|
|
|
|
|
|
+ @WebControllerLog(description = "轮播管理-新增资讯")
|
|
@ApiOperation("新增资讯")
|
|
@ApiOperation("新增资讯")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "name", value = "资讯名称", dataType = "String"),
|
|
@ApiImplicitParam(name = "name", value = "资讯名称", dataType = "String"),
|
|
@@ -72,7 +72,7 @@ public class InformationController {
|
|
|
|
|
|
@PostMapping("updateInformation")
|
|
@PostMapping("updateInformation")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
- @WebControllerLog(description = "资讯管理-修改资讯")
|
|
|
|
|
|
+ @WebControllerLog(description = "轮播管理-修改资讯")
|
|
@ApiOperation("修改资讯")
|
|
@ApiOperation("修改资讯")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "id", value = "id", dataType = "String"),
|
|
@ApiImplicitParam(name = "id", value = "id", dataType = "String"),
|
|
@@ -102,7 +102,7 @@ public class InformationController {
|
|
|
|
|
|
@PostMapping("deleteInformation")
|
|
@PostMapping("deleteInformation")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
- @WebControllerLog(description = "资讯管理-删除资讯")
|
|
|
|
|
|
+ @WebControllerLog(description = "轮播管理-删除资讯")
|
|
@ApiOperation("删除资讯")
|
|
@ApiOperation("删除资讯")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "id", value = "id", dataType = "String")})
|
|
@ApiImplicitParam(name = "id", value = "id", dataType = "String")})
|
|
@@ -119,7 +119,7 @@ public class InformationController {
|
|
|
|
|
|
@PostMapping("list")
|
|
@PostMapping("list")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
- @WebControllerLog(description = "资讯管理-获取资讯列表")
|
|
|
|
|
|
+ @WebControllerLog(description = "轮播管理-获取资讯列表")
|
|
@ApiOperation("获取资讯列表")
|
|
@ApiOperation("获取资讯列表")
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParams({
|
|
@ApiImplicitParam(name = "type", value = "资讯类型,0表示海报,1表示视频", dataType = "String"),
|
|
@ApiImplicitParam(name = "type", value = "资讯类型,0表示海报,1表示视频", dataType = "String"),
|