Browse Source

剑鱼修改

wangchuanjin 9 years ago
parent
commit
a0b2102aa5
1 changed files with 3 additions and 0 deletions
  1. 3 0
      core/src/qfw/mobile/wxmenu.go

+ 3 - 0
core/src/qfw/mobile/wxmenu.go

@@ -32,6 +32,7 @@ func (m *Mobile) Guide() error {
 		}
 	} else {
 		shareData = coreutil.GetJSInterfaceParam(url)
+		m.T["shareData"] = shareData
 		redis.Put("other", "shareData-"+url, shareData, 60*1000)
 	}
 	m.T["shareData"] = shareData
@@ -93,6 +94,7 @@ func (m *Mobile) Wxrssset() error {
 			}
 		} else {
 			shareData = coreutil.GetJSInterfaceParam(url)
+			m.T["shareData"] = shareData
 			redis.Put("other", "shareData-"+url, shareData, 60*1000)
 		}
 		return m.Render("/swordfish/wxrssset.html", &m.T)
@@ -276,6 +278,7 @@ func (m *Mobile) WxpushList(s_m_openid string, _id string, msgid string) error {
 		}
 	} else {
 		shareData = coreutil.GetJSInterfaceParam(url)
+		m.T["shareData"] = shareData
 		redis.Put("other", "shareData-"+url, shareData, 60*1000)
 	}
 	return m.Render("/swordfish/wxpush.html", &m.T)