营销:修正文章字段名、接口方法名
This commit is contained in:
parent
db62d70f3f
commit
f8604e17a1
@ -52,7 +52,7 @@ public class AppArticleController {
|
|||||||
@RequestMapping("/get")
|
@RequestMapping("/get")
|
||||||
@Operation(summary = "获得文章详情")
|
@Operation(summary = "获得文章详情")
|
||||||
@Parameter(name = "id", description = "文章编号", example = "1024")
|
@Parameter(name = "id", description = "文章编号", example = "1024")
|
||||||
public CommonResult<AppArticleRespVO> getArticlePage(@RequestParam("id") Long id) {
|
public CommonResult<AppArticleRespVO> getArticle(@RequestParam("id") Long id) {
|
||||||
return success(ArticleConvert.INSTANCE.convert01(articleService.getArticle(id)));
|
return success(ArticleConvert.INSTANCE.convert01(articleService.getArticle(id)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ public class AppArticleRespVO {
|
|||||||
private String introduction;
|
private String introduction;
|
||||||
|
|
||||||
@Schema(description = "文章内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "我是详细")
|
@Schema(description = "文章内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "我是详细")
|
||||||
private String description;
|
private String content;
|
||||||
|
|
||||||
@Schema(description = "发布时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "发布时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
private LocalDateTime createTime;
|
private LocalDateTime createTime;
|
||||||
|
Loading…
Reference in New Issue
Block a user