摘要: 支持.net4.0 https://files.cnblogs.com/files/yyyuguo/mongodbDll.zip 阅读全文
posted @ 2018-02-07 15:43 yyyuguo 阅读(139) 评论(0) 推荐(0) 编辑
摘要: using ServiceStack.Redis; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using TalentCloud.Common; using TalentCloud.Base.Utils; na... 阅读全文
posted @ 2018-02-07 15:27 yyyuguo 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 首先要理解微信支付的流程。需二次握手。 先把订单信息,金额传给微信,微信返回相应信息,再调用微信支付。 详细的查看微信公众号的相关资料 阅读全文
posted @ 2018-02-07 15:20 yyyuguo 阅读(2517) 评论(1) 推荐(0) 编辑
摘要: //授权页面 public partial class wxProcess : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { string reurl = ""; ... 阅读全文
posted @ 2018-02-07 15:19 yyyuguo 阅读(595) 评论(0) 推荐(0) 编辑
摘要: /// <summary>/// 获取二维码图片Url,需要Format 0.ticket/// </summary>public const string WeiXin_QrCode_GetUrl = "https://mp.weixin.qq.com/cgi-bin/showqrcode?tic 阅读全文
posted @ 2018-02-07 15:18 yyyuguo 阅读(1373) 评论(0) 推荐(0) 编辑
摘要: public const string WeiXin_User_GetInfoUrl = "https://api.weixin.qq.com/cgi-bin/user/info?access_token={0}&openid={1}&lang=zh_CN"; /// /// 根据OpenID 获取用户在微信的基本信息(需关注公众号) /// ... 阅读全文
posted @ 2018-02-07 15:17 yyyuguo 阅读(1939) 评论(0) 推荐(0) 编辑
摘要: 只有生成素材ID,图片才能在微信中以图片格式发出去。 阅读全文
posted @ 2018-02-07 15:16 yyyuguo 阅读(582) 评论(0) 推荐(0) 编辑
摘要: 需要用户和公众号,在48小时内有过互动,不然发不出去。 阅读全文
posted @ 2018-02-07 15:15 yyyuguo 阅读(717) 评论(0) 推荐(0) 编辑
摘要: ///验签绑定公众号的时候,有回复信息的入口public void ProcessRequest(HttpContext context) { string postString = string.Empty; if (HttpContext.Current.Request.HttpMethod.ToUpper() == "POST... 阅读全文
posted @ 2018-02-07 15:14 yyyuguo 阅读(330) 评论(0) 推荐(0) 编辑
摘要: "button": [{"type": "view","name": "11","url": "http://www.baidu.com/Weixin/wxProcess.aspx?reurl=http://www.baidu.com"}, {"type": "view","name": "22", 阅读全文
posted @ 2018-02-07 15:10 yyyuguo 阅读(335) 评论(0) 推荐(0) 编辑