fix
This commit is contained in:
parent
d57cb8b161
commit
5c390f971c
@ -137,7 +137,7 @@ func (wp *wxpay) GetPrepayInfoStr(openid string, gameid int64, userip string, or
|
||||
Attach: core.String(userip),
|
||||
NotifyUrl: core.String(mt.Table.Config.GetWxNofityHost() + "/wx/paynotify"),
|
||||
Amount: &jsapi.Amount{
|
||||
Total: core.Int64(info.Count),
|
||||
Total: core.Int64(info.Price),
|
||||
},
|
||||
Payer: &jsapi.Payer{
|
||||
Openid: core.String(openid),
|
||||
@ -151,7 +151,7 @@ func (wp *wxpay) GetPrepayInfoStr(openid string, gameid int64, userip string, or
|
||||
}
|
||||
f5.GetSysLog().Debug("prepay rsp:%s, %s", resp.String(), result.Response.Status)
|
||||
|
||||
rspstr = fmt.Sprintf(wp.payhtmlstr, resp.Appid, resp.TimeStamp, resp.NonceStr, resp.Package, resp.PaySign)
|
||||
rspstr = fmt.Sprintf(wp.payhtmlstr, *resp.Appid, *resp.TimeStamp, *resp.NonceStr, *resp.Package, *resp.PaySign)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user