Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 652 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 652 Bytes

wechat_jssdk

The golang code which can get wechat jssdk.

Router

Thanks to golang package mux

router method remarks
/jssdk/gettoken get get token
/jssdk/getticket get get ticket
/jssdk/getconfig get get signature
/static/ get static server, you can change the static file path

How to use?

Change the property like this:

// appid
const Appid = "**********************************"
// secret
const AppSecret = "********************************"

which in jssdk.go.