Merge pull request #335 from freesme/master-fix-#330wx-mini-jump-failed

修复:微信公众号菜单添加跳转小程序失败
This commit is contained in:
芋道源码 2023-09-03 18:34:33 +08:00 committed by GitHub
commit 0cb7d8a29a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,8 @@ public interface MpMenuConvert {
@Mappings({ @Mappings({
@Mapping(source = "menuKey", target = "key"), @Mapping(source = "menuKey", target = "key"),
@Mapping(source = "children", target = "subButtons"), @Mapping(source = "children", target = "subButtons"),
@Mapping(source = "miniProgramAppId", target = "appId"),
@Mapping(source = "miniProgramPagePath", target = "pagePath"),
}) })
WxMenuButton convert(MpMenuSaveReqVO.Menu bean); WxMenuButton convert(MpMenuSaveReqVO.Menu bean);