-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
1,653 additions
and
254 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 8744bf48cfbda993345132fdd4423c20 | ||
config: 43d22ff0ebec04b511688f1162742617 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
基于django的微信基础模块 | ||
======================== | ||
|
||
一个基于django的微信基础功能模块 | ||
|
||
快速开始: | ||
--------- | ||
|
||
安装依赖模块: | ||
|
||
.. code-block:: | ||
|
||
pip install xmltodict | ||
|
||
安装wechat: | ||
|
||
.. code-block:: | ||
|
||
pip install git+https://github.com/ChanMo/django_wechat.git | ||
|
||
把wechat模块添加到你的settings.py里面: | ||
|
||
.. code-block:: | ||
|
||
INSTALLED_APPS = ( | ||
... | ||
'wechat', | ||
... | ||
) | ||
|
||
在settings.py里面添加微信设置信息: | ||
|
||
.. code-block:: | ||
|
||
# wechat config | ||
WECHAT_APPID = 'test' | ||
WECHAT_APPSECRET = 'test' | ||
WECHAT_TOKEN = 'yourtoken' | ||
WECHAT_MCH_ID = 'test' | ||
WECHAT_KEY = 'test' | ||
WECHAT_JS_DEBUG = 'test' | ||
WECHAT_JS_APILIST = ['test'] | ||
|
||
在urls.py里面添加微信接口: | ||
|
||
.. code-block:: | ||
|
||
url(r'^wx/', include('wechat.urls')), | ||
|
||
添加数据表: | ||
|
||
.. code-block:: | ||
|
||
python manage.py migrate | ||
|
||
使用微信开发者模块: | ||
|
||
接口地址为:http://yourdomain/wx/ | ||
token为: yourtoken | ||
|
||
|
||
版本更改: | ||
--------- | ||
- v0.3 使js配置信息可编辑,添加Qrcode类 | ||
- v0.2 添加WxMemberView | ||
- v0.1 第一版 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.