Browse Source

修改扫码支付方法

master v0.4.2
guzeng 1 year ago
parent
commit
2373d13446
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      micropay.go

+ 1
- 4
micropay.go View File

@ -7,12 +7,9 @@ import (
"log" "log"
"reflect" "reflect"
"strings" "strings"
"time"
"git.tetele.net/tgo/network" "git.tetele.net/tgo/network"
"git.tetele.net/tgo/crypter"
"git.tetele.net/tgo/helper" "git.tetele.net/tgo/helper"
) )
@ -261,7 +258,7 @@ func MicroPayQuery(appid, mchid, out_trade_no, mch_key string) (QueryReturnXml,
* 撤消订单 * 撤消订单
* 2023/06/13 * 2023/06/13
*/ */
func MicroPayReverse(appid, mchid, out_trade_no, mch_key string) (QueryReturnXml, error) {
func MicroPayReverse(appid, mchid, out_trade_no, mch_key string) (ReverseReturnXml, error) {
log.Println("wechat micropay reverse", out_trade_no) log.Println("wechat micropay reverse", out_trade_no)


Loading…
Cancel
Save