From eac8898f3230946ded3f17cf4d3995ece7b40998 Mon Sep 17 00:00:00 2001 From: Patrick Peng Sun Date: Tue, 11 Jul 2017 17:07:33 +1000 Subject: [PATCH] profile get has only one state, display and then done. --- procGetBasicUserInfo.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/procGetBasicUserInfo.go b/procGetBasicUserInfo.go index 4fa5a02..bb4af4f 100644 --- a/procGetBasicUserInfo.go +++ b/procGetBasicUserInfo.go @@ -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) {