• Stars
    star
    146
  • Rank 252,769 (Top 5 %)
  • Language
    Java
  • Created over 7 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

best-pay-sdk demo

best-pay-demo

本示例演示了如何调用best-pay-sdk

项目说明

  1. 需要在Jdk版本>1.8上运行
  2. 本项目采用SpringBoot1.5.1开发

项目结构

src/main/java/com/github/lly835
├── PayDemoApplication.java    
├── ServletInitializer.java
├── config
│   └── PayConfig.java       //支付密钥配置类
└── controller
    └── PayController.java   //支付调用

运行示例

  1. 运行前需要先配置好密钥, 见PayConfig.java
  2. 运行命令
    git clone https://github.com/Pay-Group/best-pay-demo
    cd best-pay-demo
    mvn clean package
    java -jar target/*.war
  1. 浏览器访问http://127.0.0.1:8080/pay
  2. 查看日志

视频教程

http://v.youku.com/v_show/id_XMjg5MjM4ODIyNA==.html?spm=a2h3j.8428770.3416059.1