轻量微信支付组件 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

Web Design DeMYSTiFieD

Web Design DeMYSTiFieD

Willard, Wendy / 2010-11 / $ 24.86

Website Design just got a whole lot easier! This title helps you to learn the latest website development tools, techniques, and best practices. "Web Design Demystified" provides the hands-on help you ......一起来看看 《Web Design DeMYSTiFieD》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

SHA 加密
SHA 加密

SHA 加密工具