Browse Source

剑鱼修改

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

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

@@ -28,7 +28,7 @@ func (m *Mobile) Guide() error {
 	if ret := redis.Get("other", "shareData-"+url); ret != nil {
 		if d, err := json.Marshal(ret); err == nil || json.Unmarshal(d, &shareData) != nil {
 			shareData = coreutil.GetJSInterfaceParam(url)
-			m.T["shareData"] = ret
+			m.T["shareData"] = shareData
 		}
 	} else {
 		shareData = coreutil.GetJSInterfaceParam(url)
@@ -89,7 +89,7 @@ func (m *Mobile) Wxrssset() error {
 		if ret := redis.Get("other", "shareData-"+url); ret != nil {
 			if d, err := json.Marshal(ret); err == nil || json.Unmarshal(d, &shareData) != nil {
 				shareData = coreutil.GetJSInterfaceParam(url)
-				m.T["shareData"] = ret
+				m.T["shareData"] = shareData
 			}
 		} else {
 			shareData = coreutil.GetJSInterfaceParam(url)
@@ -272,7 +272,7 @@ func (m *Mobile) WxpushList(s_m_openid string, _id string, msgid string) error {
 	if ret := redis.Get("other", "shareData-"+url); ret != nil {
 		if d, err := json.Marshal(ret); err == nil || json.Unmarshal(d, &shareData) != nil {
 			shareData = coreutil.GetJSInterfaceParam(url)
-			m.T["shareData"] = ret
+			m.T["shareData"] = shareData
 		}
 	} else {
 		shareData = coreutil.GetJSInterfaceParam(url)