WH01243 4 сар өмнө
parent
commit
b3f5d9ba2e

+ 2 - 1
src/jfw/front/commonPayPc.go

@@ -2,6 +2,7 @@ package front
 
 import (
 	"fmt"
+	"github.com/gogf/gf/v2/util/gconv"
 	"jy/src/jfw/config"
 	"strings"
 	"time"
@@ -52,7 +53,7 @@ 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.GetSession("positionType"))
+	positionType := gconv.String(this.GetSession("positionType"))
 	this.T["price"] = this.GetString("price")
 	this.T["shareid"] = "10"
 	this.T["positionType"] = positionType