Skip to content

Pay-Group/best-pay-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages