code: func (js *Js) GetConfig(uri string) (config *Config, err error) {
  	config = new(Config)
  	var ticketStr string
  	ticketStr, err = js.GetTicket()
  	if err != nil {
  		return
  	}
  
  	nonceStr := util.RandomStr(16)
  	timestamp := util.GetCurrTs()
  	str := fmt.Sprintf("jsapi_ticket=%s&noncestr=%s&timestamp=%d&url=%s", ticketStr, nonceStr, timestamp, uri)
  	sigStr := util.Signature(str)
  
  	config.AppID = js.AppID
  	config.NonceStr = nonceStr
  	config.Timestamp = timestamp
  	config.Signature = sigStr
  	return
  }
docs: //GetConfig 获取jssdk需要的配置参数
  //uri 为当前网页地址