|
@@ -47,7 +47,7 @@ func (share *Share) ShareImg() {
|
|
|
}
|
|
|
|
|
|
func getDocShareUrl(userId, docId string) string {
|
|
|
- enUserId := encrypt.SE.EncodeString(userId)
|
|
|
+ enUserId := encrypt.SE.EncodeStringByCheck(userId)
|
|
|
toHref := url.QueryEscape(fmt.Sprintf("/page_docs_app/details/%s?from=%s", docId, enUserId)) //关注跳转页面
|
|
|
unHref := url.QueryEscape(fmt.Sprintf("/swordfish/about?from=%s", enUserId)) //为关注跳转页面
|
|
|
log.Println(fmt.Sprintf(config.JyDocsAppConfig.ShareUrl+"?toHref=%s&unHref=%s", toHref, unHref))
|