|
@@ -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)
|