Procházet zdrojové kódy

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

master
Patrick Peng Sun před 8 roky
rodič
revize
eac8898f32
1 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. +2
    -3
      procGetBasicUserInfo.go

+ 2
- 3
procGetBasicUserInfo.go Zobrazit soubor

@@ -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) {

Načítá se…
Zrušit
Uložit