private void button7_Click(object sender, EventArgs e) { var menu = getConditionalMenu(); //创建个性化菜单 var matchrule = new DuoKong.Polly.WeiXin.MatchRule(); matchrule.tag_id = "100"; matchrule.language = "zh_CN"; var result = WxHelperMenu.CreateConditionalMenu(menu, matchrule, accessToken); if (result.errcode == ReturnCode.请求成功) { responseBox.Text = result.errcode.ToString() + "\n" + result.menuid; } else { responseBox.Text = result.errcode.ToString() + "\n" + result.errmsg.ToString(); } //responseBox.Text = "暂不可用,未配置user tag"; }