瀏覽代碼

告知链接地址

WH01243 5 月之前
父節點
當前提交
d4c89852fb
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/jfw/front/commonPayPc.go

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

@@ -52,11 +52,11 @@ func (this *JyOrder) PaySuccess(orderType, orderCode string) error {
 	if payTime, err := this.GetInt("payTime"); err == nil {
 		this.T["payTime"] = time.Unix(payTime, 0).Format("2006年01月02日")
 	}
-    positionType := qutil.ObjToString(this.GetString("positionType"))
+	positionType := qutil.ObjToString(this.GetSession("positionType"))
 	this.T["price"] = this.GetString("price")
-    this.T["shareid"] = "10"
-    this.T["positionType"] = positionType
-    this.T["orderType"] = orderType
+	this.T["shareid"] = "10"
+	this.T["positionType"] = positionType
+	this.T["orderType"] = orderType
 	this.T["orderCode"] = orderCode
 	return this.Render("/order/pc/paySuccess.html")
 }