轻量微信支付组件 wepay

码农软件 · 软件分类 · 微信/微信小程序 · 2019-03-14 06:43:12

软件介绍

wepay是一款轻量的微信支付组件(A Lightweight Wechat Pay Component)。

  • 包引入:

    <dependency>
        <groupId>me.hao0</groupId>
        <artifactId>wepay-core</artifactId>
        <version>1.2.4</version>
    </dependency>
  • 依赖包,注意引入项目时是否需要exclude:

    <dependency>
        <groupId>me.hao0</groupId>
        <artifactId>common</artifactId>
        <version>1.1.2</version>
    </dependency>
  • 基本用法:

    Wepay wepay = WepayBuilder
                    .newBuilder(appId, appKey, mchId)
                    .config1(...)   // 其他可选配置
                    ...
                    .build();
    
    wepay.module().api();
  • 已实现的组件:

    • 支付pay();

    • 退款refund();

    • 订单order();

    • 通知notify();

    • 账单bill()

  • API文档这里

本文地址:https://codercto.com/soft/d/1301.html

Fluent Python

Fluent Python

Luciano Ramalho / O'Reilly Media / 2015-8-20 / USD 39.99

Learn how to write idiomatic, effective Python code by leveraging its best features. Python's simplicity quickly lets you become productive with it, but this often means you aren’t using everything th......一起来看看 《Fluent Python》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试