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

合并 #46

Open
wants to merge 102 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
fd1293b
Merge pull request #8 from roncoo/dev
leslie52 Aug 22, 2016
d7bf6cb
修改log4j配置文件中,日志文件名字
18620936193 Sep 1, 2016
cd40503
Update README.md
leslie52 Sep 1, 2016
a7ef47e
Merge pull request #11 from roncoo/dev
leslie52 Sep 5, 2016
7ea3d29
1.0.0版本更新
leslie52 Sep 11, 2016
d0ac51a
1.0.0版本更新
leslie52 Sep 11, 2016
e0ab0f4
1.0.0版本更新
leslie52 Sep 11, 2016
3963d71
1.0.0版本更新
leslie52 Sep 11, 2016
edc16fe
Update UPDATELOG.md
leslie52 Sep 11, 2016
857a747
1.0.0版本更新
leslie52 Sep 11, 2016
dbd49b5
1.0.0版本更新
leslie52 Sep 11, 2016
4cac0a0
1.0.0版本更新
leslie52 Sep 11, 2016
53f79b6
1.0.0版本更新
leslie52 Sep 13, 2016
abe2ac7
Merge branch 'master' of https://github.com/roncoo/roncoo-pay
leslie52 Sep 13, 2016
fa37ee0
Update AccountController.java
leslie52 Sep 19, 2016
65d19d8
Update AccountController.java
leslie52 Sep 23, 2016
b22c6a8
增加文件顾虑
Mar 10, 2017
98dfccf
1. 商户后台增加结算记录查询、支付密码修改 2.boss后台增加支付密码初始123456
Apr 4, 2017
31433c1
修复分页乱码BUG
Apr 4, 2017
6e07aff
用户支付配置增加商户安全等级 商户服务器IP字段,增加商户服务器IP白名单拦截
Apr 5, 2017
5d8c490
更新至1.0.1版本
Apr 5, 2017
c0c38e0
Update UPDATELOG.md
leslie52 Apr 5, 2017
d0fc360
调整NetWorkUtil地址
Apr 5, 2017
0326f26
Merge branch 'master' of https://github.com/roncoo/roncoo-pay
Apr 5, 2017
cb5e5db
Update .project
laiyq Apr 14, 2017
efd5cbb
Update .project
laiyq Apr 14, 2017
ecbf2cf
添加微信、支付宝订单查询和订单轮询
Apr 26, 2017
355b150
更新至1.0.2
Apr 26, 2017
d131275
Update UPDATELOG.md
leslie52 Apr 26, 2017
1cf138f
Update UPDATELOG.md
leslie52 Apr 26, 2017
746b374
添加微信支付宝条码支付
Dec 14, 2017
f96e8f5
添加微信支付宝条码支付
Dec 14, 2017
b95843b
添加更新文档
Dec 14, 2017
f5a53e7
修改查询次数为10次
Dec 14, 2017
4f5420e
Merge branch 'master' of http://roncoopay.vicp.net/pay/openSource_ron…
Dec 15, 2017
a06824c
增加不支持支付方式异常显示
Dec 15, 2017
34c9674
Merge branch 'master' of http://roncoopay.vicp.net/pay/openSource_ron…
Dec 15, 2017
08a421f
修改支付宝SDK包引入方式
Dec 16, 2017
abc0455
修改支付宝SDK包引入方式
Dec 16, 2017
a4b80b5
添加小程序接口
Dec 25, 2017
3d76d91
修改
Dec 26, 2017
84bfaca
修改订单查询
Dec 28, 2017
5381cd9
修复系统角色修改的bug
laiyq Oct 18, 2018
758c5ef
角色权限和菜单全选和反选bug修复
laiyq Oct 18, 2018
04a65d0
jar包版本升级
laiyq Oct 18, 2018
6f68729
jar包版本升级
laiyq Oct 18, 2018
3032d62
jar包版本升级
laiyq Oct 18, 2018
5c3debb
jar包版本升级
laiyq Oct 18, 2018
9162660
jar包版本升级
laiyq Oct 18, 2018
7109283
jar包版本升级
laiyq Oct 18, 2018
3a909a2
jar包版本升级
laiyq Oct 18, 2018
40244c9
架构升级
laiyq Feb 20, 2019
4a2163a
bug修复
laiyq Feb 20, 2019
0f278fe
对账时间和结算时间调整
laiyq Feb 20, 2019
56700b6
端口调整
laiyq Feb 20, 2019
22ba866
端口调整
laiyq Feb 20, 2019
78b2363
微信小微商户进件
Feb 21, 2019
5712605
调整
laiyq Feb 21, 2019
4e4c0f7
调整对账时间
laiyq Feb 21, 2019
f87b86a
调整结算时间
laiyq Feb 21, 2019
ccca546
架构升级
laiyq Feb 21, 2019
05d1124
jar包调整
laiyq Feb 21, 2019
f0c5a35
修复登录权限控制
laiyq Feb 22, 2019
b935320
维护更新说明
laiyq Feb 25, 2019
82c79f9
维护更新说明
laiyq Feb 25, 2019
0d4af67
维护readme
laiyq Feb 25, 2019
d65587f
修改联系人方式
laiyq Mar 1, 2019
8e162be
修改联系人方式
laiyq Mar 1, 2019
07d9fc5
去掉没有的改版遗留下的web.xml
laiyq Mar 4, 2019
57c339e
Update README.md
fengyws Mar 4, 2019
5ec525d
Update README.md
fengyws Mar 4, 2019
a73a064
Create .gitattributes
fengyws Mar 4, 2019
e659df2
更加过滤文件
fengyws Mar 4, 2019
1a4576b
增加过滤文件
fengyws Mar 4, 2019
31fbb4e
增加过滤文件
fengyws Mar 4, 2019
ef57d1f
修改xml字符串解析工具类
laiyq Mar 7, 2019
60419dc
Merge branch 'master' of https://github.com/roncoo/roncoo-pay
laiyq Mar 7, 2019
f67e472
Update README.md
wushuicheng Mar 14, 2019
8798a44
龙果支付系统--开源版--应用架构
wushuicheng Mar 14, 2019
32dc97c
Update README.md
wushuicheng Mar 14, 2019
2311850
Update README.md
wushuicheng Mar 14, 2019
fb9b832
Update README.md
wushuicheng Mar 14, 2019
a3396f9
Update README.md
wushuicheng Mar 14, 2019
d6b2379
Update README.md
wushuicheng Mar 14, 2019
c10f2fc
logo
wushuicheng Mar 14, 2019
7a6a749
Update README.md
wushuicheng Mar 14, 2019
e2d816a
增加支付流程图
wushuicheng Mar 14, 2019
6672b47
支付流程图
wushuicheng Mar 14, 2019
bafbea0
Update README.md
wushuicheng Mar 14, 2019
69adefb
Update README.md
wushuicheng Mar 14, 2019
115d37b
Update README.md
wushuicheng Mar 14, 2019
541988e
Update README.md
wushuicheng Mar 14, 2019
7ba9845
Update README.md
wushuicheng Mar 14, 2019
0e1b322
Update README.md
wushuicheng Mar 14, 2019
bc84c90
Update README.md
wushuicheng Mar 14, 2019
66ffc02
Update README.md
wushuicheng Mar 14, 2019
d221ce8
Update README.md
wushuicheng Mar 14, 2019
569673a
Update README.md
wushuicheng Mar 14, 2019
fe50300
Update README.md
wushuicheng Mar 14, 2019
7e6c2f4
Update README.md
wushuicheng Mar 14, 2019
65a79d6
更换logo
laiyq Mar 15, 2019
f5bb174
Update README.md
fengyws Mar 15, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions .classpath

This file was deleted.

3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.js linguist-language=java
*.css linguist-language=java
*.html linguist-language=java
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/.idea/*
*/target/
*.project
*.classpath
*.settings
*.mvn
*.springBeans
.project
roncoo-pay.iml

33 changes: 0 additions & 33 deletions .project

This file was deleted.

118 changes: 105 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# 龙果支付系统
![logo](logo.png "logo")

龙果支付系统是国内首款开源的互联网支付系统,其核心目标是汇聚所有主流支付渠道,打造一款轻量、便捷、易用,且集支付、资金对账、资金清结算于一体的支付系统,满足互联网业务系统的收款和业务资金管理需求。
# 龙果支付系统 roncoo-pay

######主要特点:
龙果支付系统(roncoo-pay)是国内首款开源的互联网支付系统,拥有独立的账户体系、用户体系、支付接入体系、支付交易体系、对账清结算体系。目标是打造一款集成主流支付方式且轻量易用的支付收款系统,满足互联网业务系统打通支付通道实现支付收款和业务资金管理等功能。

###### 主要特点:

1. 具备支付系统通用的支付、对账、清算、资金账户管理、支付订单管理等功能;

2. 目前已接通“支付宝即时到账”和“微信扫码支付”通道;
2. 目前已接通“支付宝扫码支付”和“微信扫码支付”通道;

3. 支持直连和间连两种支付模式,任君选择;

Expand All @@ -16,33 +18,123 @@

6. 配套完善的系统使用文档,可轻松嵌入任何需要支付的场景;

7. 龙果支付系统产品技术团队是一支拥有多年第三方支付系统设计研发经验的团队,会为龙果支付系统持续提供商业级的免费开源技术服务支持。
7. 龙果支付系统产品技术团队是一支拥有多年互联网支付系统设计研发经验的团队,会为龙果支付系统持续提供免费开源技术服务支持。

----------------------------------------------------------------------------------

###### 应用架构:
![应用架构图](应用架构图.jpg "应用架构图")

###### 支付流程:
![支付流程图](pay-flow.png "支付流程图")

----------------------------------------------------------------------------------

######应用架构:
![应用架构](http://git.oschina.net/uploads/images/2016/0726/171546_239efc3b_860625.jpeg "应用架构")
##### 技术框架
| 技术 | 描述|
|---|--- |
| [Spring Boot](https://spring.io/projects/spring-boot) | 核心框架 |
| [Apache Shiro](http://shiro.apache.org) | 安全框架 |
| [MyBatis](http://www.mybatis.org/mybatis-3/zh/index.html) | ORM框架 |
| [Druid](https://github.com/alibaba/druid/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98) | 数据连接池 |
| [Redis](https://redis.io) | 缓存数据库 |
| [Ehcache](http://www.ehcache.org/) | 进程内缓存框架 |
| [Maven](http://maven.apache.org/) | 项目管理 |

##### 项目结构
```
roncoo-pay //龙果支付
|
├── roncoo-pay-app-notify //商户通知模块
|
├── roncoo-pay-app-order-polling //订单轮询模块
|
├── roncoo-pay-app-reconciliation //交易对账模块
|
├── roncoo-pay-app-settlement //交易结算模块
|
├── roncoo-pay-common-core //公共基础模块,不需要单独部署
|
├── roncoo-pay-service //核心业务模块,不需要单独部署
|
├── roncoo-pay-web-boss //运营后台模块
|
├── roncoo-pay-web-gateway //支付网关模块
|
├── roncoo-pay-web-merchant //商户后台模块
|
├── roncoo-pay-web-sample-shop //模拟商城模块
```

##### 模块介绍
> roncoo-pay-app-notify

说明:商户通知模块,把交易成功的订单信息按一定的通知策略通知相应的商户

> roncoo-pay-app-order-polling

说明:订单轮询模块,按制定的查询策略对平台支付中的订单进行结果查询,然后对获取到的订单结果做相应的处理(注意:除了轮询还能通过异步通知获取订单结果进行处理)

> roncoo-pay-app-reconciliation

说明:交易对账模块,每天定时对前一天平台的交易订单和银行方(例如:微信、支付宝...)订单进行匹配校验,校验订单状态、手续费、交易金额等

> roncoo-pay-app-settlement

说明:交易结算模块,每天定时对前一天已对完账后确认无误的交易订单进行结算,把钱结算给对应的商家和平台

> roncoo-pay-common-core

说明:公共基础模块,包含公共的工具类、枚举、配置、基础实体、基础DAO层等

> roncoo-pay-service

说明:核心业务模块,整个系统的核心,所有业务功能(下单,查询、账户操作......)的实现,所有web工程和app服务都需要引用该模块

> roncoo-pay-web-boss

说明:运营后台模块,提供对支付系统功能的配置和维护,例如维护银行信息、支付产品,商户信息、费率、交易查询等

> roncoo-pay-web-gateway

说明:支付网关模块,对商家提供对外的网关支付接口(包含支付下单,支付查询......)

> roncoo-pay-web-merchant

说明:商户后台模块,提供商户查看交易订单信息

> roncoo-pay-web-sample-shop

说明:模拟商城模块,提供向支付系统发起支付请求的商城,提供测试方法

---------

在线支付演示:http://demo.pay.roncoo.com

后台运营管理:http://demo.pay.roncoo.com/boss

系统操作说明:http://www.roncoo.com/article/detail/124375
系统操作说明:https://blog.roncoo.com/article/124375

系统详细介绍:http://www.roncoo.com/article/detail/124373
系统详细介绍:https://blog.roncoo.com/article/124373

系统搭建部署:http://www.roncoo.com/article/detail/124511
系统搭建部署:https://blog.roncoo.com/article/124511

官方QQ群:287684257,欢迎大家加入,共同探讨互联网金融支付行业业务、技术等。
###### 欢迎加群
QQ2群:597865269

![Alt text](http://git.oschina.net/uploads/images/2016/0722/175850_9e020e87_860625.png)
QQ1群:287684257(已满)

欢迎加群,共同探讨互联网支付行业的技术经验!

龙果支付系统官网:http://pay.roncoo.net

![logo](logo.png "logo")









22 changes: 22 additions & 0 deletions UPDATELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
###### v1.0.2-2017.04.26
1. 增加支付宝、微信查询接口
2. 增加订单轮询工程
3. 增加网关下单后发起订单轮询业务流程
----------------------------------------------------------------------------------

###### v1.0.1-2017.04.05
1. 修复分页乱码bug
2. 增加支付密码字段、商户服务器IP字段
3. 商户后台增加结算记录查询
4. 商户后台增加支付密码修改
5. 运营后台用户支付配置增加商户安全等级
6. 网关增加商户服务器IP白名单拦截
----------------------------------------------------------------------------------

###### v1.0.0-2016.9.11
1. 修复条码支付bug
2. boss后台增加用户手机、密码录入
3. 增加商户后台系统

----------------------------------------------------------------------------------

###### v0.0.4-2016.8.15
1. 修复权限模块bug
2. 修改对账模块配置文件路径
Expand Down
58 changes: 58 additions & 0 deletions database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1038,3 +1038,61 @@ alter table rp_user_pay_info add offline_app_id varchar(50);
alter table rp_user_pay_info add rsa_private_key varchar(100);
alter table rp_user_pay_info add rsa_public_key varchar(100);

-- 2016.9.5 增加登录信息字段
alter table rp_user_info add mobile varchar(15);
alter table rp_user_info add password varchar(50);

-- 2017.4.4 用户信息表增加支付密码字段
alter table rp_user_info add pay_pwd varchar(50) comment '支付密码' default '123456';

-- 2017.4.5 增加用户支付配置表安全等级字段 商户服务器IP字段
alter table rp_user_pay_config add security_rating varchar(20) comment '安全等级' default 'MD5';

alter table rp_user_pay_config add merchant_server_ip varchar(200) comment '商户服务器IP';

/*==============================小微商户进件==start=================================*/
drop table if exists rp_micro_submit_record;
create table rp_micro_submit_record
(
id varchar(50) not null comment '编号',
version int(11) not null default 0 comment '版本号',
create_time datetime not null comment '创建时间',
creater varchar(100) comment '创建者',
edit_time datetime not null comment '修改时间',
editor varchar(100) comment '修改者',
status varchar(50) not null comment '状态',
business_code varchar(32) not null comment '业务申请编号',
sub_mch_id varchar(32) comment '小微商户号',
id_card_copy varchar(256) not null comment '身份证人像面照片',
id_card_national varchar(256) not null comment '身份证国徽面照片',
id_card_name varchar(64) not null comment '身份证姓名',
id_card_number varchar(18) not null comment '身份证号码',
id_card_valid_time varchar(50) not null comment '身份证有效期限',
account_bank varchar(50) not null comment '开户名称',
bank_address_code varchar(6) not null comment '开户银行省市编码',
account_number varchar(50) not null comment '银行账号',
store_name varchar(128) not null comment '门店名称',
store_address_code varchar(6) not null comment '门店省市编码',
store_street varchar(500) not null comment '门店街道名称',
store_entrance_pic varchar(256) not null comment '门店门口照片',
indoor_pic varchar(256) not null comment '店内环境照片',
merchant_shortname varchar(50) not null comment '商户简称',
service_phone varchar(50) not null comment '客服电话',
product_desc varchar(50) not null comment '服务描述',
rate varchar(50) not null comment '费率',
contact_phone varchar(11) not null comment '手机号码',
primary key (id)
);
alter table rp_micro_submit_record comment '小微商户进件记录';

-- 菜单
insert into pms_menu (id,version,status,creater,create_time, editor, edit_time, remark, name, url, number, is_leaf, level, parent_id, target_name) values
(47,0, 'ACTIVE','roncoo','2016-06-03 11:07:43', 'admin','2016-06-03 11:07:43', '', '进件记录管理', '/trade/micro/submit/record/list', '00107', 'YES',2, 40, 'jjjlgl');

-- 分账权限
insert into pms_permission (id,version,status,creater,create_time, editor, edit_time, remark, permission_name, permission) values
(266, 0,'ACTIVE', 'roncoo','2016-06-03 11:07:43', 'test', '2016-06-03 11:07:43','进件记录管理--查看','进件记录管理--查看','trade:micro:submit:record:list'),
(267, 0,'ACTIVE', 'roncoo','2016-06-03 11:07:43', 'test', '2016-06-03 11:07:43','进件记录管理--添加','进件记录管理--添加','trade:micro:submit:record:add'),
(268, 0,'ACTIVE', 'roncoo','2016-06-03 11:07:43', 'test', '2016-06-03 11:07:43','进件记录管理--查询','进件记录管理--查询','trade:micro:submit:record:query');

/*==============================小微商户进件==end=================================*/
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pay-flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading