Skip to content

ihoey/node-wechat-bill

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

node-wechat-bill

微信没有年度账单?怎么破,nodejs自己撸呗~

思路来自于 wechatbill

运行环境:

node 7.x
mysql

开发框架:

koa2.x
及相关中间件

1、先执行 init/sql 目录下的 wechat.sql 脚本。

mysql 执行方法:

在终端中输入"mysql -u root -p
输入密码:
进入Mysql数据库
输入“source 文件路径*.sql;
执行*.sql文件,数据库及表即建立完成。

2、修改 config.js 中的 mysql 数据库信息

database: {
  DATABASE: 'wechatbill',
  USERNAME: 'root',
  PASSWORD: '000000',
  PORT: '3306',
  HOST: 'localhost'
}

项目启动后,可以通过接口访问

请求参数如下: wechat_idexportkeyuserroll_encryptionuserroll_pass_ticketAUTHGUIDUA2ClientId

About

微信没有年度账单?怎么破,nodejs自己撸呗~

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published