{"repo":"myvas/AspNetCore.Weixin","free":true,"listed":false,"github":"https://github.com/myvas/AspNetCore.Weixin","clone":"git clone https://github.com/myvas/AspNetCore.Weixin.git","description":"This solution is working around the Tencent WeChat (also known as Weixin) platform APIs, designed to streamline integration and enhance developer productivity. (微信公众平台/接口调用服务)","language":"C#","stars":27,"topics":["aspnetcore","middleware","website","wechat","accesstoken","token","handler","messaging","myvas"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Myvas.AspNetCore.Weixin This solution is working around the Tencent WeChat (also known as Weixin) platform APIs, designed to streamline integration and enhance developer productivity. 微信公众平台/接口调用服务：在微信公众平台上申请服务号或订阅号后，经配置部署可提供自定义菜单、即时信息交流、微信网页授权、模板消息通知等接口调用及搭建站点。 获取配置参数 Options 微信公众平台：https://mp.weixin.qq.com 1. 开发/基本配置/公众号开发信息 - 获取 AppId ，作为参数 .AppId - 获取 AppSecret ，作为参数 .AppSecret 2. 开发/基本配置/服务器配置： 修改设置 启用 - 在“服务器地址( URL )”中，填写地址: http://xxx.xxx/wx or https://xxx.xxx/wx，将二级虚拟路径( \"/wx\" )作为参数 .Path - 在“网站 Token ”中，填写一串较长的随机字符串，作为参数 .WebsiteToken - 在“消息加解密密钥 EncodingAESKey ”中，若空则初始化一个，作为参数 .EncodingAESKey - 在“消息加解密方式”中， 建议 选择“ 安全模式 ”。其他选项有\" 明文模式 \"和\" 兼容模式 \"。当且仅当您选择\" 安全模式 \"时，将参数 .StrictMode 设置为 true 。 微信接口服务容器 WeixinBuilder - 微信接口服务注入 - .AddWeixin(Action ) : 注入所有接口 - .AddWeixinCore(Action ) : 注入基础会话接口 - 基础会话接口： - IWeixinAccessTokenApi ： Usage - IWeixinJsapiTicketApi ： Usage - IWeixinCardTicketApi : Usage - 数据管理接口： - IWeixinUserApi : - IWeixinUserProfileApi : - IWeixinUserGroupApi : - IWeixinGroupApi : - 其他业务接口： - IWeixinCommonApi : - IWeixinMenuApi : - IWeixinMediaApi : - IWeixinCustomerSupportApi : - IWeixinGroupMessageApi : - IWeixinQrcodeApi : - IWeixinWifiApi : - Cache providers: - Memory cache provider: AddWeixinMemoryCacheProvider (Default injected in AddWeixin(...) and AddWeixinCore(...) ) - Redis cache provider: AddWeixinRedisCacheProvider(Action ) - Customization of cache provider: AddWeixinCacheProvider where TWeixinCacheProvider should implement IWeixinCacheProvider fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/myvas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/myvas/AspNetCore.Weixin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}