This commit is contained in:
2026-08-18 17:32:15 +08:00
parent 656a921ff0
commit 143df60485
2 changed files with 3 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ import (
// reservedExpireMinute: 订单有效期分钟reserved 字段,不参与签名)。
func (c *Client) PreCreate(orderNo, amount, goodsDesc, termIP, orderType, reservedExpireMinute string) (*PreCreateResponse, error) {
req := &PreCreateRequest{
Version: "1.0",
Version: "1",
InsCd: c.InsCd,
MchntCd: c.MchntCd,
TermId: c.TermId,
@@ -59,7 +59,7 @@ func (c *Client) PreCreate(orderNo, amount, goodsDesc, termIP, orderType, reserv
// orderType: 订单类型,须与下单时一致。
func (c *Client) CommonQuery(orderNo, orderType string) (*CommonQueryResponse, error) {
req := &CommonQueryRequest{
Version: "1.0",
Version: "1",
InsCd: c.InsCd,
MchntCd: c.MchntCd,
TermId: c.TermId,