WH01243 5 сар өмнө
parent
commit
d4c89852fb

+ 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")
 }