瀏覽代碼

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

TANGSHIZHE 5 年之前
父節點
當前提交
2d656e0e74
共有 2 個文件被更改,包括 8 次插入8 次删除
  1. 4 4
      src/jfw/front/wx_dataExport.go
  2. 4 4
      src/jfw/modules/app/src/app/front/dataExport.go

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

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