From 37ea2431c3647922c7172d74f58a10fff7f35327 Mon Sep 17 00:00:00 2001 From: Patrick Peng Sun Date: Thu, 13 Jul 2017 00:45:14 +1000 Subject: [PATCH] can redirect url with cookie set before doing editing. --- procGetBasicUserInfo.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/procGetBasicUserInfo.go b/procGetBasicUserInfo.go index 232a561..5313dc4 100644 --- a/procGetBasicUserInfo.go +++ b/procGetBasicUserInfo.go @@ -102,6 +102,7 @@ func (m crmdLead) getBasicUserInfoEditButton() (ret sendNewsArticle) { a.Description = "" a.PicURL = "" a.Title = "点击这里编辑您的资料" - a.URL = "http://192.168.1.39:65500/spa/editprofile" + u := "http://192.168.1.39:65500/redirect?lid=" + m.ID + "&url=http://192.168.1.39:65500/spa/editprofile" + a.URL = buildSignatureAppend2Url(u, IntraAPIConfig.CRMSecrete) return a }