|
@@ -791,6 +791,7 @@ func (this *CommonAction) GetWxReturnPayParam() {
|
|
|
var (
|
|
|
tradeno, payParam string
|
|
|
err error
|
|
|
+ openId string
|
|
|
)
|
|
|
expire, dateErr := time.ParseInLocation(time.DateTime, expireTime, time.Local)
|
|
|
if dateErr == nil {
|
|
@@ -805,9 +806,8 @@ func (this *CommonAction) GetWxReturnPayParam() {
|
|
|
case "wx_js":
|
|
|
var (
|
|
|
sessVal = this.Session().GetMultiple()
|
|
|
- openId = qutil.ObjToString(sessVal["s_m_openid"])
|
|
|
)
|
|
|
- if openId == "" {
|
|
|
+ if openId = qutil.ObjToString(sessVal["s_m_openid"]); openId == "" {
|
|
|
openId = qutil.ObjToString(sessVal["openid_returnMoney"])
|
|
|
}
|
|
|
if openId == "" {
|
|
@@ -829,6 +829,7 @@ func (this *CommonAction) GetWxReturnPayParam() {
|
|
|
"return_id": returnId,
|
|
|
"order_code": OrderCode,
|
|
|
"pay_param": payParam,
|
|
|
+ "s_openid": openId,
|
|
|
"out_trade_no": tradeno,
|
|
|
"pay_way": payWayReq,
|
|
|
"creat_time": FormatDate(&now, Date_Full_Layout),
|