code: func (srv *Server) handleRequest() (reply *message.Reply, err error) {
  	//set isSafeMode
  	srv.isSafeMode = false
  	encryptType := srv.Query("encrypt_type")
  	if encryptType == "aes" {
  		srv.isSafeMode = true
  	}
  
  	//set openID
  	srv.openID = srv.Query("openid")
  
  	var msg interface{}
  	msg, err = srv.getMessage()
  	if err != nil {
  		return
  	}
  	mixMessage, success := msg.(message.MixMessage)
  	if !success {
  		err = errors.New("消息类型转换失败")
  	}
  	srv.requestMsg = mixMessage
  	reply = srv.messageHandler(mixMessage)
  	return
  }
docs: //HandleRequest 处理微信的请求