|
@@ -3,7 +3,8 @@ package front
|
|
|
import (
|
|
|
"errors"
|
|
|
"fmt"
|
|
|
- "jy/src/jfw/config"
|
|
|
+ "github.com/gogf/gf/v2/util/gconv"
|
|
|
+ "jy/src/jfw/config"
|
|
|
"jy/src/jfw/wx"
|
|
|
"net/url"
|
|
|
|
|
@@ -85,6 +86,14 @@ func (w *WxPayCommon) PaySuccess(doType string) error {
|
|
|
if exist && t < len(titleArr) {
|
|
|
w.T["title"] = titleArr[t]
|
|
|
}
|
|
|
+ productType := ""
|
|
|
+ if doType == "subvip" {
|
|
|
+ productType = "VIP订阅"
|
|
|
+ }
|
|
|
+ sessVal := w.Session().GetMultiple()
|
|
|
+ positionType := gconv.String(sessVal["positionType"])
|
|
|
+ w.T["productType"] = productType
|
|
|
+ w.T["positionType"] = positionType
|
|
|
if doType == "dataexport" { //数据导出支付成功
|
|
|
return w.Render("/weixin/dataExport/dataExport_paySuccess.html", &w.T)
|
|
|
} else if doType == "subvip" { //vip订阅支付成功
|