Commit f8604e17a104b64891dd9b8e7fd6f18a59992312
1 parent
db62d70f
营销:修正文章字段名、接口方法名
Showing
2 changed files
with
2 additions
and
2 deletions
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/article/AppArticleController.java
| ... | ... | @@ -52,7 +52,7 @@ public class AppArticleController { |
| 52 | 52 | @RequestMapping("/get") |
| 53 | 53 | @Operation(summary = "获得文章详情") |
| 54 | 54 | @Parameter(name = "id", description = "文章编号", example = "1024") |
| 55 | - public CommonResult<AppArticleRespVO> getArticlePage(@RequestParam("id") Long id) { | |
| 55 | + public CommonResult<AppArticleRespVO> getArticle(@RequestParam("id") Long id) { | |
| 56 | 56 | return success(ArticleConvert.INSTANCE.convert01(articleService.getArticle(id))); |
| 57 | 57 | } |
| 58 | 58 | ... | ... |
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/article/vo/article/AppArticleRespVO.java
| ... | ... | @@ -28,7 +28,7 @@ public class AppArticleRespVO { |
| 28 | 28 | private String introduction; |
| 29 | 29 | |
| 30 | 30 | @Schema(description = "文章内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "我是详细") |
| 31 | - private String description; | |
| 31 | + private String content; | |
| 32 | 32 | |
| 33 | 33 | @Schema(description = "发布时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| 34 | 34 | private LocalDateTime createTime; | ... | ... |