Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Go项目] 微信支付SDK #317

Closed
objcoding opened this issue Aug 21, 2018 · 2 comments
Closed

[Go项目] 微信支付SDK #317

objcoding opened this issue Aug 21, 2018 · 2 comments

Comments

@objcoding
Copy link

objcoding commented Aug 21, 2018

项目推荐

  • 项目名称:wxpay

  • 项目地址:https://github.com/objcoding/wxpay

  • 项目后续更新计划:1.完善代码质量 2.增加一些新功能,如企业付款到银行卡等

  • 项目描述:这是一款为Go语言写的一个微信支付SDK

  • 推荐理由:轻量、好用、易上手。

  • 示例代码:

// 新建微信支付客户端
// 统一下单
params := make(wxpay.Params)
params.SetString("body", "test").
		SetString("out_trade_no", "436577857").
		SetInt64("total_fee", 1).
		SetString("spbill_create_ip", "127.0.0.1").
		SetString("notify_url", "http://notify.objcoding.com/notify").
		SetString("trade_type", "APP")
p, _ := client.UnifiedOrder(params)
@objcoding objcoding changed the title 一款Go语言微信支付SDK [Go项目] 微信支付SDK Aug 21, 2018
@FrontMage
Copy link
Collaborator

已收录至31期GO项目

@521xueweihan
Copy link
Owner

@objcoding 您推荐的项目,已成功收录在 HelloGitHub 第 31 期,并把您添加到了贡献者列表中。

欢迎继续推荐如此优秀的项目、告诉其他小伙伴加入到 HelloGitHub 项目中。谢谢 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants