This commit is contained in:
aozhiwei 2020-03-18 20:17:19 +08:00
parent dcfb40db7b
commit 44ac3b0b31

View File

@ -86,6 +86,7 @@ func QQPrePay(openid string, appid string, zone string, amt string, goodId strin
value.Set("sig", sign)
req := &QQPrePayReq{};
raw_data, _ := json.Marshal(util.UrlValuesToMap(value))
req.ZoneId = "1"
req.Amt = 1
req.Ts = int(time.Now().Unix())
req.GoodNum = 1