使用 Tornado 开发的微信公众平台投票系统
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
art
handler
model
static
uimodule
wx_util
.gitignore
README.md
application.py
server.py
url.py

README.md

weixin_vote

run steps

  • add config.py
DOMAIN = ''
DB_HOST = ''
DB_NAME = ''
DB_USER = ''
DB_PWD = ''

QINIU_AK = ''
QINIU_SK = ''
QINIU_BUCKET_NAME = ''
  • run server.py

feature

libs

  • tornado
  • MySQL-python
  • pycrypto
  • httplib2
  • bs4
  • requests
  • qiniu ...

todo

  • 迁移静态文件到七牛服务器上
  • 把 access_token 存入数据库(考虑去掉 WeixinRefreshATKWorker)
  • 把 active 属性迁移到子账号上
  • 自动获取公众号基本信息
  • 邀请码、注册码自动定时清理
  • 管理后台
  • 将 WeixinRefreshATKWorker 分离出来
  • 更好的上传体验
  • 上传文件校验

screenshots

ranking page

admin