An open API service indexing awesome lists of open source software.

https://github.com/nekocode/weixin_vote

使用 Tornado 开发的微信公众平台投票系统
https://github.com/nekocode/weixin_vote

app backend

Last synced: about 2 months ago
JSON representation

使用 Tornado 开发的微信公众平台投票系统

Awesome Lists containing this project

README

        

# 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
- tornado
- torndb(no ORM!): http://torndb.readthedocs.org/en/latest/#
- multiple accounts suport

### libs
- tornado
- MySQL-python
- pycrypto
- httplib2
- bs4
- requests
- qiniu
...

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

### screenshots

![](art/1.png "")
![](art/2.png "")
![](art/3.png "")
![](art/4.png "")
![](art/5.png "")

## ranking page
![](art/ranking_1.png "")
![](art/ranking_2.png "")

## admin
![](art/admin_1.jpg "")
![](art/admin_2.jpg "")