当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 97

开发团队 / 微信Go SDK
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
wx_queryrefund_test.go 411 Bytes
一键复制 编辑 原始数据 按行查看 历史
shallot 提交于 2019-08-19 18:25 .
package wechat
import (
"fmt"
"testing"
)
// 测试查询退款
func testQueryRefund(t *testing.T, outTradeNo string) {
fmt.Println("----------查询退款----------")
// 初始化参数结构体
body := QueryRefundBody{}
body.OutTradeNo = outTradeNo
// 请求查询退款
wxRsp, err := testClient.QueryRefund(body)
if err != nil {
t.Error(err)
return
}
fmt.Printf("返回值: %+v\n", wxRsp)
}
Go
1
https://gitee.com/OAGroup/wechat.git
git@gitee.com:OAGroup/wechat.git
OAGroup
wechat
微信Go SDK
master

搜索帮助