Explorar o código

Merge branch 'dev2.10.10' of http://192.168.3.207:10080/qmx/jy into dev2.10.10

TANGSHIZHE %!s(int64=5) %!d(string=hai) anos
pai
achega
2d656e0e74

+ 4 - 4
src/jfw/front/wx_dataExport.go

@@ -72,10 +72,10 @@ func (w *WxDataExport) ToSieve() error {
 		}
 
 		w.T["orderDetail"] = orderDetail
-		//是否是从结构化数据推广页过来的
-		if w.GetString("from") == "structed" {
-			w.SetSession("Structed", true)
-		}
+	}
+	//是否是从结构化数据推广页过来的
+	if w.GetString("from") == "structed" {
+		w.SetSession("Structed", true)
 	}
 	//分享
 	w.T["signature"] = wx.SignJSSDK(w.Site() + w.Url())

+ 4 - 4
src/jfw/modules/app/src/app/front/dataExport.go

@@ -80,10 +80,10 @@ func (w *WxDataExport) ToSieve() error {
 			}
 		}
 		w.T["orderDetail"] = orderDetail
-		//是否是从结构化数据推广页过来的
-		if w.GetString("from") == "structed" {
-			w.SetSession("Structed", true)
-		}
+	}
+	//是否是从结构化数据推广页过来的
+	if w.GetString("from") == "structed" {
+		w.SetSession("Structed", true)
 	}
 	if myUserId == "" {
 		return errors.New("未登录")