Explorar el Código

added KF event extra field

master
Patrick Peng Sun hace 8 años
padre
commit
fc77aab127
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      inMsg.go

+ 2
- 0
inMsg.go Ver fichero

@@ -78,6 +78,8 @@ type EventMsg struct {
Latitude float64 //for LOCATION
Longitude float64 //for LOCATION
Precision float64 //for LOCATION
KfAccount string //for kf_close_session kf_create_session
CloseType string // kf_close_session
}

//ReadCommonHeader parse xml of common field of wechat post message

Cargando…
Cancelar
Guardar