|
@@ -52,11 +52,11 @@ func (this *JyOrder) PaySuccess(orderType, orderCode string) error {
|
|
if payTime, err := this.GetInt("payTime"); err == nil {
|
|
if payTime, err := this.GetInt("payTime"); err == nil {
|
|
this.T["payTime"] = time.Unix(payTime, 0).Format("2006年01月02日")
|
|
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["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
|
|
this.T["orderCode"] = orderCode
|
|
return this.Render("/order/pc/paySuccess.html")
|
|
return this.Render("/order/pc/paySuccess.html")
|
|
}
|
|
}
|