Skip to content

Commit

Permalink
[2.0.0]release sub/serv/enter account for rec/res text/image.
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-canux committed Mar 5, 2017
1 parent 9299488 commit 17964ff
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 13 deletions.
4 changes: 4 additions & 0 deletions config.yaml
Expand Up @@ -2,15 +2,19 @@ name: wechat
version: 1

libraries:
# SAE don't have this version.
- name: "django"
version: "1.8.2"

# SAE don't have this library.
- name: "requests"
version: "2.11.1"

# SAE have it, but don't have default version.
- name: "lxml"
version: "2.3.4"

# SAE have it, but don't have default version.
- name: "PyCrypto"
version: "2.6"

Expand Down
Binary file modified docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/_build/doctrees/wechat.doctree
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/_build/html/_sources/wechat.txt
Expand Up @@ -79,10 +79,10 @@ How to use
# For wechat enterprise account.
CORPID = "your_corp_id"
TOKEN = "your_token"
EncodingAESKey = "your_encoding_aeskey"
ENCODINGAESKEY = "your_encoding_aeskey"
SECRET = "your_secret"
AGENTID = "your_application_id"
SAFE = 0/1
AGENTID = 0
SAFE = 0

4. Configuration the django project in urls.py::

Expand Down
2 changes: 1 addition & 1 deletion docs/_build/html/searchindex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/_build/html/wechat.html
Expand Up @@ -107,10 +107,10 @@ <h2>How to use<a class="headerlink" href="#how-to-use" title="Permalink to this
# For wechat enterprise account.
CORPID = &quot;your_corp_id&quot;
TOKEN = &quot;your_token&quot;
EncodingAESKey = &quot;your_encoding_aeskey&quot;
ENCODINGAESKEY = &quot;your_encoding_aeskey&quot;
SECRET = &quot;your_secret&quot;
AGENTID = &quot;your_application_id&quot;
SAFE = 0/1
AGENTID = 0
SAFE = 0
</pre></div>
</div>
</li>
Expand Down
6 changes: 3 additions & 3 deletions docs/wechat.rst
Expand Up @@ -79,10 +79,10 @@ How to use
# For wechat enterprise account.
CORPID = "your_corp_id"
TOKEN = "your_token"
EncodingAESKey = "your_encoding_aeskey"
ENCODINGAESKEY = "your_encoding_aeskey"
SECRET = "your_secret"
AGENTID = "your_application_id"
SAFE = 0/1
AGENTID = 0
SAFE = 0

4. Configuration the django project in urls.py::

Expand Down
21 changes: 21 additions & 0 deletions enterprise_api/__init__.py
@@ -0,0 +1,21 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
django-wechat-api is wechat interface build with django.
Copyright (C) 2016 Canux CHENG.
All rights reserved.
Name: __init__.py
Author: Canux CHENG canuxcheng@gmail.com
Version: V1.0.0.0
Time: Mon 31 Oct 2016 10:38:57 PM EDT
DESCRIPTION:
How to install:
pip install django-wechat-api
How to use:
Follow django document, django-wechat-api is a django application.
"""

__version__ = "2.0.0"
__author__ = "Canux CHENG"
1 change: 1 addition & 0 deletions index.wsgi
Expand Up @@ -4,6 +4,7 @@ import sae

# For SAE to add third party libraries.
# $pip install -t vendor -r requirements.txt
# If folder name vendor, SAE default add it.
#import os
#import sys
#root = os.path.dirname(__file__)
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
@@ -1,3 +1,2 @@
Django==1.8.2
requests==2.11.1
pycrypto==2.6.1
2 changes: 1 addition & 1 deletion wechat/settings.py
Expand Up @@ -151,8 +151,8 @@

# For wechat enterprise account
CORPID = "wx2b60193d11c71526"
SECRET = "Ox9khNJ72tR-I6TnRLUnmdYvzIatUjruTXCD-uhjRux0sBBKCXA1XeGeJ-jF7LKy"
TOKEN = "canux"
ENCODINGAESKEY = "6L6XDzj7GGdRSDTET6J4FMklM5FZKM8gKc76hlaplSl"
SECRET = ""
AGENTID = 0
SAFE = 0
2 changes: 1 addition & 1 deletion wechat_api/__init__.py
Expand Up @@ -17,5 +17,5 @@
Follow django document, django-wechat-api is a django application.
"""

__version__ = "1.0.0.0"
__version__ = "2.0.0"
__author__ = "Canux CHENG"

0 comments on commit 17964ff

Please sign in to comment.