|
|
@@ -63,4 +63,13 @@ public class YqzjNewsController extends YqzjBaseController { |
|
|
|
return new ResultData(page); |
|
|
|
} |
|
|
|
|
|
|
|
@AuthIgnore |
|
|
|
@ApiOperation("详情") |
|
|
|
@GetMapping("detail") |
|
|
|
@ApiImplicitParams({ |
|
|
|
@ApiImplicitParam(name = "id", value = "页数", dataType = "int", paramType = "query", required = true)}) |
|
|
|
public ResultData detail(@ModelAttribute YqzjNews record) { |
|
|
|
return new ResultData(yqzjService.findNewsById(record.getId())); |
|
|
|
} |
|
|
|
|
|
|
|
} |