修复-公众号标签修改提示报错“[微信公众号 yudao-module-mp - 已禁用][参考 https://doc.iocoder.cn/mp/build/ 开启]”
This commit is contained in:
parent
66f09ed54b
commit
296256a55a
@ -55,9 +55,9 @@ public class MpTagController {
|
||||
@GetMapping("/get")
|
||||
@Operation(summary = "获取公众号标签详情")
|
||||
@PreAuthorize("@ss.hasPermission('mp:tag:query')")
|
||||
public CommonResult<MpTagDO> get(@RequestParam("id") Long id) {
|
||||
public CommonResult<MpTagRespVO> get(@RequestParam("id") Long id) {
|
||||
MpTagDO mpTagDO = mpTagService.get(id);
|
||||
return success(mpTagDO);
|
||||
return success(MpTagConvert.INSTANCE.convert(mpTagDO));
|
||||
}
|
||||
|
||||
@GetMapping("/page")
|
||||
|
@ -37,6 +37,8 @@ public interface MpTagConvert {
|
||||
})
|
||||
MpTagDO convert(WxUserTag tag, MpAccountDO account);
|
||||
|
||||
MpTagRespVO convert(MpTagDO mpTagDO);
|
||||
|
||||
List<MpTagSimpleRespVO> convertList02(List<MpTagDO> list);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user