Selaa lähdekoodia

profile get has only one state, display and then done.

master
Patrick Peng Sun 8 vuotta sitten
vanhempi
commit
eac8898f32
1 muutettua tiedostoa jossa 2 lisäystä ja 3 poistoa
  1. +2
    -3
      procGetBasicUserInfo.go

+ 2
- 3
procGetBasicUserInfo.go Näytä tiedosto

@@ -18,12 +18,11 @@ func (m *getBasicUserInfoDef) clean(ss *openIDSessionData) {
}
func (m *getBasicUserInfoDef) start(ss *openIDSessionData, in *InWechatMsg) {
procGetBasicUserInfo.summary(ss)
procGetBasicUserInfo.clean(ss)
}

func (m *getBasicUserInfoDef) serve(ss *openIDSessionData, in *InWechatMsg) {

procGetBasicUserInfo.clean(ss)

}
func (m *getBasicUserInfoDef) summary(ss *openIDSessionData) {
//build article message with user's picture and email,phone
@@ -59,7 +58,7 @@ func (m *getBasicUserInfoDef) summary(ss *openIDSessionData) {

func (m *getBasicUserInfoDef) intro(ss *openIDSessionData, in *InWechatMsg) {
in.replyText("")
m.summary(ss)
//m.summary(ss)
}

func (m crmdLead) getBasicUserInfoPhoto() (ret sendNewsArticle) {

Loading…
Peruuta
Tallenna