|
@@ -2,6 +2,7 @@ package com.ym.mec.cms.controller;
|
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiImplicitParam;
|
|
|
+import io.swagger.annotations.ApiImplicitParams;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
@@ -185,7 +186,8 @@ public class NewsController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation("查询资讯详情")
|
|
|
- @ApiImplicitParam(name = "id", value = "资讯ID编号", required = true, dataType = "Long")
|
|
|
+ @ApiImplicitParams({@ApiImplicitParam(name = "id", value = "资讯ID编号", required = true, dataType = "Long"),
|
|
|
+ @ApiImplicitParam(name = "memo", value = "版本号", dataType = "String") })
|
|
|
@GetMapping("/list/tree")
|
|
|
public Object listWithTree(Integer id, String memo) {
|
|
|
return succeed(sysNewsTypeService.listWithTree(id,memo));
|