Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 企业微信客服发送菜单消息 #496

Merged
merged 1 commit into from
May 25, 2024

Conversation

deloz
Copy link
Contributor

@deloz deloz commented May 24, 2024

根据文档,菜单的格式应该是

            {
                "type": "click", 
                "click": {
                    "id": "101", 
                    "content": "满意"
                }
            }

另外,应该是可选

@Matrix-X
Copy link
Contributor

感谢你的pr,有两个问题,需要调整一下
第一,是否可以去掉那个指针的申明

Type string json:"type"
Click RequestAccountServiceMsgMenuListClick json:"click,omitempty"
View RequestAccountServiceMsgMenuListView json:"view,omitempty"
MiniProgram RequestAccountServiceMsgMenuListMiniProgram json:"miniprogram,omitempty"

第二,请提交到develop分之

谢谢

@Matrix-X
Copy link
Contributor

算了,我来调整吧

@Matrix-X Matrix-X merged commit bae6ae1 into ArtisanCloud:release/3.2.0 May 25, 2024
@Matrix-X
Copy link
Contributor

v3.2.18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants