Skip to content

moajs/wechat-share-express-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wechat-share-express-middleware

var config = {
  app_id: "", 
  app_secret: "",
  jsApiList : [],
  redis: null
}



var wsem = require('wechat-share-express-middleware')(config);


app.get('/', wsem.config , wsem.error , function (req, res) {
  res.send('GET request to the homepage');
});


app.get('/', wsem.config_and_json);


app.get('/', wsem.config_with_jade);

config

  • 如果有redis,走redis(多机器)
  • 如果没有redis本地创建文件(单机)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published