mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 15:21:53 +08:00
营销:修正文章字段名、接口方法名
This commit is contained in:
parent
db62d70f3f
commit
f8604e17a1
@ -52,7 +52,7 @@ public class AppArticleController {
|
||||
@RequestMapping("/get")
|
||||
@Operation(summary = "获得文章详情")
|
||||
@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)));
|
||||
}
|
||||
|
||||
|
@ -28,7 +28,7 @@ public class AppArticleRespVO {
|
||||
private String introduction;
|
||||
|
||||
@Schema(description = "文章内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "我是详细")
|
||||
private String description;
|
||||
private String content;
|
||||
|
||||
@Schema(description = "发布时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
private LocalDateTime createTime;
|
||||
|
Loading…
Reference in New Issue
Block a user