Git Product home page Git Product logo

weixinsdk's Introduction

1.使用对象

微信公众平台:http://mp.weixin.qq.com/wiki/home/index.html

Deepleo.Weixin.SDK是SDK源代码

Deepleo.Web是一个asp.net mvc的demo Online: http://demo.weixinsdk.net

扫码查看:

   

2.核心**

运用Dynamic(.net 4.0以及以上版本支持)在程序中传递微信所需的结构化(xml,json)对象,减少大量代码,实现轻量级。 让您可以像Python一样书写代码。

3.疑难问题

Wiki: https://github.com/night-king/weixinSDK/wiki

1)API返回的Dynamic对象应该如何使用?

答:如果您调用API,return的是

a.由DynamicJson.Parse转换而来,您可以用.[属性名称] 访问到该属性的值;

譬如 BasicAPI.cs中GetAccessToken:

var token = DynamicJson.Parse(result.Content.ReadAsStringAsync().Result);

那么调用时:string newToken = BasicAPI.GetAccessToken(AppId, AppSecrect).access_token;

b.如果是DynamicXml转换而来的,您可以用.[属性名称].Value 访问到该属性的值;

譬如 AcceptMessageAPI.cs中Parse:

msg.Body = new DynamicXml(message);

string msgType = msg.Body.MsgType.Value;

2)遇到其他问题该如何解决?

答:如果开发者遇到开发问题或者遇到SDK的bug,请到

 a.官方QQ群:478753523

 b.官方网站:http://www.weixinsdk.net/

 c.作者QQ:2586662969

4.源代码唯一托管地址:https://github.com/night-king/weixinSDK

5.Copyright and license

Code and documentation copyright 2011-2015. Code released under the MIT license. Docs released under Creative Commons.

weixinsdk's People

Contributors

night-king avatar wzca avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.