Commit 296256a55a2c97510f7c719b523e806592e0a6b5
1 parent
66f09ed5
修复-公众号标签修改提示报错“[微信公众号 yudao-module-mp - 已禁用][参考 https://doc.iocoder.cn/mp/build/ 开启]”
Showing
2 changed files
with
4 additions
and
2 deletions
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/controller/admin/tag/MpTagController.java
| ... | ... | @@ -55,9 +55,9 @@ public class MpTagController { |
| 55 | 55 | @GetMapping("/get") |
| 56 | 56 | @Operation(summary = "获取公众号标签详情") |
| 57 | 57 | @PreAuthorize("@ss.hasPermission('mp:tag:query')") |
| 58 | - public CommonResult<MpTagDO> get(@RequestParam("id") Long id) { | |
| 58 | + public CommonResult<MpTagRespVO> get(@RequestParam("id") Long id) { | |
| 59 | 59 | MpTagDO mpTagDO = mpTagService.get(id); |
| 60 | - return success(mpTagDO); | |
| 60 | + return success(MpTagConvert.INSTANCE.convert(mpTagDO)); | |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | @GetMapping("/page") | ... | ... |
yudao-module-mp/yudao-module-mp-biz/src/main/java/cn/iocoder/yudao/module/mp/convert/tag/MpTagConvert.java