|
@@ -48,8 +48,8 @@ func (share *Share) ShareImg() {
|
|
|
|
|
|
func getDocShareUrl(userId, docId string) string {
|
|
|
enUserId := encrypt.SE.Encode2Hex(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)) //为关注跳转页面
|
|
|
+ toHref := url.QueryEscape(fmt.Sprintf("/page_docs_mobile/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))
|
|
|
return fmt.Sprintf(config.JyDocsAppConfig.ShareUrl+"?toHref=%s&unHref=%s", toHref, unHref)
|
|
|
}
|