build 升级版本号

This commit is contained in:
xxm1995
2024-03-26 12:34:12 +08:00
parent 591b34cc14
commit 8c74eb7fee
20 changed files with 4082 additions and 25 deletions

View File

@@ -2,7 +2,7 @@
<p>
<img src='https://gitee.com/bootx/dax-pay/badge/star.svg?theme=dark' alt='star'/>
<img src="https://img.shields.io/badge/Dax%20Pay-2.0.3-success.svg" alt="Build Status"/>
<img src="https://img.shields.io/badge/Dax%20Pay-2.0.4-success.svg" alt="Build Status"/>
<img src="https://img.shields.io/badge/Boot%20Platform-1.3.6-success.svg" alt="Build Status"/>
<img src="https://img.shields.io/badge/Author-Bootx-orange.svg" alt="Build Status"/>
<img src="https://img.shields.io/badge/Spring%20Boot-2.7.18-blue.svg" alt="Downloads"/>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,81 @@
SET FOREIGN_KEY_CHECKS = 0;
INSERT INTO `iam_perm_path`(`id`, `code`, `name`, `request_type`, `path`, `group_name`, `enable`, `generate`, `remark`, `creator`, `create_time`, `last_modifier`, `last_modified_time`, `deleted`, `version`) VALUES (1772446740356460544, 'CockpitReportController#getRefundChannelInfo', '显示通道退款订单金额和订单数', 'GET', '/report/cockpit/getRefundChannelInfo', '驾驶舱接口', b'1', b'1', '驾驶舱接口 显示通道退款订单金额和订单数', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
INSERT INTO `iam_perm_path`(`id`, `code`, `name`, `request_type`, `path`, `group_name`, `enable`, `generate`, `remark`, `creator`, `create_time`, `last_modifier`, `last_modified_time`, `deleted`, `version`) VALUES (1772446740356460545, 'CockpitReportController#getRefundAmount', '退款金额(分)', 'GET', '/report/cockpit/getRefundAmount', '驾驶舱接口', b'1', b'1', '驾驶舱接口 退款金额(分)', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
INSERT INTO `iam_perm_path`(`id`, `code`, `name`, `request_type`, `path`, `group_name`, `enable`, `generate`, `remark`, `creator`, `create_time`, `last_modifier`, `last_modified_time`, `deleted`, `version`) VALUES (1772446740356460546, 'CockpitReportController#getRefundOrderCount', '退款订单数量', 'GET', '/report/cockpit/getRefundOrderCount', '驾驶舱接口', b'1', b'1', '驾驶舱接口 退款订单数量', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
INSERT INTO `iam_perm_path`(`id`, `code`, `name`, `request_type`, `path`, `group_name`, `enable`, `generate`, `remark`, `creator`, `create_time`, `last_modifier`, `last_modified_time`, `deleted`, `version`) VALUES (1772446740356460547, 'CockpitReportController#getPayChannelInfo', '显示通道支付订单金额和订单数', 'GET', '/report/cockpit/getPayChannelInfo', '驾驶舱接口', b'1', b'1', '驾驶舱接口 显示通道支付订单金额和订单数', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
INSERT INTO `iam_perm_path`(`id`, `code`, `name`, `request_type`, `path`, `group_name`, `enable`, `generate`, `remark`, `creator`, `create_time`, `last_modifier`, `last_modified_time`, `deleted`, `version`) VALUES (1772446740356460548, 'ReconcileOrderController#upload', '手动上传对账单文件', 'POST', '/order/reconcile/upload', '对账控制器', b'1', b'1', '对账控制器 手动上传对账单文件', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
INSERT INTO `iam_perm_path`(`id`, `code`, `name`, `request_type`, `path`, `group_name`, `enable`, `generate`, `remark`, `creator`, `create_time`, `last_modifier`, `last_modified_time`, `deleted`, `version`) VALUES (1772446740356460549, 'CockpitReportController#getPayAmount', '支付金额(分)', 'GET', '/report/cockpit/getPayAmount', '驾驶舱接口', b'1', b'1', '驾驶舱接口 支付金额(分)', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
INSERT INTO `iam_perm_path`(`id`, `code`, `name`, `request_type`, `path`, `group_name`, `enable`, `generate`, `remark`, `creator`, `create_time`, `last_modifier`, `last_modified_time`, `deleted`, `version`) VALUES (1772446740356460550, 'CockpitReportController#getPayOrderCount', '支付订单数量', 'GET', '/report/cockpit/getPayOrderCount', '驾驶舱接口', b'1', b'1', '驾驶舱接口 支付订单数量', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
DELETE FROM `iam_role_path` WHERE `id` = 1757299898825560083;
DELETE FROM `iam_role_path` WHERE `id` = 1757299898825560084;
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446949400571904, 1757297023118462976, 1772446740356460550);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446949400571905, 1757297023118462976, 1772446740356460549);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446949400571906, 1757297023118462976, 1772446740356460547);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446949400571907, 1757297023118462976, 1772446740356460546);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446949400571908, 1757297023118462976, 1772446740356460545);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446949400571909, 1757297023118462976, 1772446740356460544);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446949400571910, 1757297023118462976, 1772446740356460548);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446949400571911, 1757297023118462976, 1768219994979528711);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446949400571912, 1757297023118462976, 1768219994979528710);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446949400571913, 1757297023118462976, 1768219994979528704);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446949400571914, 1757297023118462976, 1768219994979528707);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446952005234688, 1757298887092326400, 1772446740356460550);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446952005234689, 1757298887092326400, 1772446740356460549);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446952005234690, 1757298887092326400, 1772446740356460547);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446952005234691, 1757298887092326400, 1772446740356460546);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446952005234692, 1757298887092326400, 1772446740356460545);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446952005234693, 1757298887092326400, 1772446740356460544);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446952005234694, 1757298887092326400, 1772446740356460548);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446952005234695, 1757298887092326400, 1768219994979528711);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446952005234696, 1757298887092326400, 1768219994979528710);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772446952005234697, 1757298887092326400, 1768219994979528704);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772447125519396864, 1757298887092326400, 1764663810424303620);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772447125519396865, 1757298887092326400, 1764663810424303619);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772447125519396866, 1757298887092326400, 1764663810424303618);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772447125519396867, 1757298887092326400, 1764663810424303617);
INSERT INTO `iam_role_path`(`id`, `role_id`, `permission_id`) VALUES (1772447125519396868, 1757298887092326400, 1764663810424303616);
UPDATE `pay_alipay_config` SET `app_id` = '123456', `enable` = b'1', `notify_url` = 'ServerUrl/callback/pay/alipay', `return_url` = 'ServerUrl/return/pay/alipay', `server_url` = 'https://openapi.alipay.com/gateway.do', `auth_type` = 'key', `sign_type` = 'RSA2', `alipay_public_key` = 'ImfODRp7hnJ3DUk9fCes0Q==', `private_key` = 'ImfODRp7hnJ3DUk9fCes0Q==', `app_cert` = NULL, `alipay_cert` = NULL, `alipay_root_cert` = NULL, `sandbox` = b'0', `pay_ways` = 'wap,app,web,qrcode,barcode', `remark` = '支付宝支付', `creator` = 0, `create_time` = '2024-01-02 21:17:58', `last_modifier` = 1399985191002447872, `last_modified_time` = '2024-02-13 15:43:51', `version` = 23, `deleted` = b'0', `single_limit` = NULL, `alipay_user_id` = NULL WHERE `id` = 0;
UPDATE `pay_platform_config` SET `website_url` = 'http://127.0.0.1', `sign_type` = 'HMAC_SHA256', `sign_secret` = '132456', `notify_url` = 'http://127.0.0.1/h5/#/result/success', `return_url` = 'http://127.0.0.1/h5/#/result/success', `order_timeout` = 30, `creator` = 0, `create_time` = '2024-01-02 20:23:19', `last_modifier` = 1757299137932677120, `last_modified_time` = '2024-02-13 15:08:51', `version` = 3, `deleted` = b'0', `limit_amount` = NULL WHERE `id` = 0;
UPDATE `pay_union_pay_config` SET `mach_id` = '123456', `enable` = b'1', `server_url` = 'https://qra.95516.com/pay/gateway', `notify_url` = 'ServerUrl/callback/pay/union', `pay_ways` = 'wap,app,web,qrcode,barcode,jsapi,b2b', `remark` = NULL, `seller` = NULL, `sign_type` = 'RSA2', `cert_sign` = b'0', `key_private_cert` = NULL, `key_private_cert_pwd` = NULL, `acp_middle_cert` = NULL, `acp_root_cert` = NULL, `sandbox` = b'1', `return_url` = 'ServerUrl/return/pay/union', `creator` = 0, `create_time` = '2024-03-06 22:56:22', `last_modifier` = 1399985191002447872, `last_modified_time` = '2024-03-12 23:30:18', `version` = 11, `deleted` = b'0', `single_limit` = NULL WHERE `id` = 0;
UPDATE `pay_wechat_pay_config` SET `wx_mch_id` = '123', `wx_app_id` = '123', `enable` = b'1', `notify_url` = 'ServerUrl/callback/pay/wechat', `return_url` = 'ServerUrl/pay/wechat', `api_version` = '0', `api_key_v2` = NULL, `api_key_v3` = 'E0jIzPNngkpkZYL19H3vFQ==', `app_secret` = 'E0jIzPNngkpkZYL19H3vFQ==', `p12` = 'E0jIzPNngkpkZYL19H3vFQ==', `sandbox` = NULL, `pay_ways` = '0', `remark` = 'wap,app,jsapi,qrcode,barcode', `creator` = 0, `create_time` = '0000-00-00 00:00:00', `last_modifier` = 2024, `last_modified_time` = '0000-00-00 00:00:00', `version` = 2024, `deleted` = b'1', `single_limit` = NULL WHERE `id` = 0;
SET FOREIGN_KEY_CHECKS = 1;

View File

@@ -0,0 +1,44 @@
SET FOREIGN_KEY_CHECKS=0;
ALTER TABLE `pay_alipay_config` ADD COLUMN `single_limit` int(11) NULL DEFAULT NULL COMMENT '支付限额' AFTER `deleted`;
ALTER TABLE `pay_alipay_config` ADD COLUMN `alipay_user_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合作者身份ID' AFTER `single_limit`;
ALTER TABLE `pay_channel_order` MODIFY COLUMN `pay_time` datetime(0) NULL DEFAULT NULL COMMENT '支付完成时间' AFTER `status`;
ALTER TABLE `pay_platform_config` ADD COLUMN `limit_amount` int(11) NULL DEFAULT NULL COMMENT '支付限额' AFTER `deleted`;
ALTER TABLE `pay_platform_config` MODIFY COLUMN `return_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '同步支付跳转地址' AFTER `notify_url`;
CREATE TABLE `pay_transfer_order` (
`id` bigint(20) NOT NULL COMMENT '主键',
`out_trade_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`channel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`amount` int(11) NULL DEFAULT NULL,
`status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`payer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`payee` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`success_time` datetime(0) NULL DEFAULT NULL,
`creator` bigint(20) NULL DEFAULT NULL COMMENT '创建者ID',
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
`last_modifier` bigint(20) NULL DEFAULT NULL COMMENT '最后修者ID',
`last_modified_time` datetime(0) NULL DEFAULT NULL COMMENT '最后修改时间',
`version` int(11) NOT NULL COMMENT '乐观锁',
`deleted` bit(1) NOT NULL COMMENT '删除标志',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '转账订单' ROW_FORMAT = Dynamic;
ALTER TABLE `pay_union_pay_config` ADD COLUMN `single_limit` int(11) NULL DEFAULT NULL COMMENT '支付限额' AFTER `deleted`;
CREATE TABLE `pay_union_reconcile_bill_detail` (
`record_order_id` bigint(20) NULL DEFAULT NULL COMMENT '关联对账订单ID',
`trade_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '交易代码',
`txn_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '交易传输时间',
`txn_amt` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '交易金额',
`query_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '查询流水号',
`order_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商户订单号'
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '云闪付业务明细对账单' ROW_FORMAT = Dynamic;
ALTER TABLE `pay_wechat_pay_config` ADD COLUMN `single_limit` int(11) NULL DEFAULT NULL COMMENT '支付限额' AFTER `deleted`;
SET FOREIGN_KEY_CHECKS=1;

View File

@@ -8,7 +8,7 @@
Target Server Version : 50743
File Encoding : 65001
Date: 14/03/2024 18:59:35
Date: 26/03/2024 10:58:01
*/
SET NAMES utf8mb4;
@@ -1494,6 +1494,13 @@ INSERT INTO `iam_perm_path` VALUES (1768219994979528708, 'PayReturnController#un
INSERT INTO `iam_perm_path` VALUES (1768219994979528709, 'PayCallbackController#unionPayNotify', '云闪付支付信息回调', 'POST', '/callback/pay/union', '支付通道信息回调', b'1', b'1', '支付通道信息回调 云闪付支付信息回调', 1399985191002447872, '2024-03-14 18:17:53.398000', 1399985191002447872, '2024-03-14 18:17:53.398000', b'0', 0);
INSERT INTO `iam_perm_path` VALUES (1768219994979528710, 'UnionPayConfigController#toBase64', '读取证书文件内容', 'POST', '/union/pay/config/toBase64', '云闪付配置', b'1', b'1', '云闪付配置 读取证书文件内容', 1399985191002447872, '2024-03-14 18:17:53.398000', 1399985191002447872, '2024-03-14 18:17:53.398000', b'0', 0);
INSERT INTO `iam_perm_path` VALUES (1768219994979528711, 'UnionPayConfigController#findPayWays', '支持的支付方式', 'GET', '/union/pay/config/findPayWays', '云闪付配置', b'1', b'1', '云闪付配置 支持的支付方式', 1399985191002447872, '2024-03-14 18:17:53.398000', 1399985191002447872, '2024-03-14 18:17:53.398000', b'0', 0);
INSERT INTO `iam_perm_path` VALUES (1772446740356460544, 'CockpitReportController#getRefundChannelInfo', '显示通道退款订单金额和订单数', 'GET', '/report/cockpit/getRefundChannelInfo', '驾驶舱接口', b'1', b'1', '驾驶舱接口 显示通道退款订单金额和订单数', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
INSERT INTO `iam_perm_path` VALUES (1772446740356460545, 'CockpitReportController#getRefundAmount', '退款金额(分)', 'GET', '/report/cockpit/getRefundAmount', '驾驶舱接口', b'1', b'1', '驾驶舱接口 退款金额(分)', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
INSERT INTO `iam_perm_path` VALUES (1772446740356460546, 'CockpitReportController#getRefundOrderCount', '退款订单数量', 'GET', '/report/cockpit/getRefundOrderCount', '驾驶舱接口', b'1', b'1', '驾驶舱接口 退款订单数量', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
INSERT INTO `iam_perm_path` VALUES (1772446740356460547, 'CockpitReportController#getPayChannelInfo', '显示通道支付订单金额和订单数', 'GET', '/report/cockpit/getPayChannelInfo', '驾驶舱接口', b'1', b'1', '驾驶舱接口 显示通道支付订单金额和订单数', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
INSERT INTO `iam_perm_path` VALUES (1772446740356460548, 'ReconcileOrderController#upload', '手动上传对账单文件', 'POST', '/order/reconcile/upload', '对账控制器', b'1', b'1', '对账控制器 手动上传对账单文件', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
INSERT INTO `iam_perm_path` VALUES (1772446740356460549, 'CockpitReportController#getPayAmount', '支付金额(分)', 'GET', '/report/cockpit/getPayAmount', '驾驶舱接口', b'1', b'1', '驾驶舱接口 支付金额(分)', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
INSERT INTO `iam_perm_path` VALUES (1772446740356460550, 'CockpitReportController#getPayOrderCount', '支付订单数量', 'GET', '/report/cockpit/getPayOrderCount', '驾驶舱接口', b'1', b'1', '驾驶舱接口 支付订单数量', 1399985191002447872, '2024-03-26 10:13:28.025000', 1399985191002447872, '2024-03-26 10:13:28.025000', b'0', 0);
-- ----------------------------
-- Table structure for iam_role
@@ -1693,8 +1700,6 @@ INSERT INTO `iam_role_path` VALUES (1757299898825560079, 1757298887092326400, 17
INSERT INTO `iam_role_path` VALUES (1757299898825560080, 1757298887092326400, 1757297527152169054);
INSERT INTO `iam_role_path` VALUES (1757299898825560081, 1757298887092326400, 1757297527152169041);
INSERT INTO `iam_role_path` VALUES (1757299898825560082, 1757298887092326400, 1757297527152169016);
INSERT INTO `iam_role_path` VALUES (1757299898825560083, 1757298887092326400, 1757297527147974712);
INSERT INTO `iam_role_path` VALUES (1757299898825560084, 1757298887092326400, 1757297527147974657);
INSERT INTO `iam_role_path` VALUES (1757299898825560086, 1757298887092326400, 1757297527152169126);
INSERT INTO `iam_role_path` VALUES (1757299898825560087, 1757298887092326400, 1757297527152169084);
INSERT INTO `iam_role_path` VALUES (1757299898825560089, 1757298887092326400, 1757297527156363312);
@@ -1820,6 +1825,32 @@ INSERT INTO `iam_role_path` VALUES (1768220144112201730, 1757297023118462976, 17
INSERT INTO `iam_role_path` VALUES (1768220144611323904, 1757298887092326400, 1768219994971140096);
INSERT INTO `iam_role_path` VALUES (1768220144611323905, 1757298887092326400, 1768219994979528705);
INSERT INTO `iam_role_path` VALUES (1768220144611323906, 1757298887092326400, 1768219994979528706);
INSERT INTO `iam_role_path` VALUES (1772446949400571904, 1757297023118462976, 1772446740356460550);
INSERT INTO `iam_role_path` VALUES (1772446949400571905, 1757297023118462976, 1772446740356460549);
INSERT INTO `iam_role_path` VALUES (1772446949400571906, 1757297023118462976, 1772446740356460547);
INSERT INTO `iam_role_path` VALUES (1772446949400571907, 1757297023118462976, 1772446740356460546);
INSERT INTO `iam_role_path` VALUES (1772446949400571908, 1757297023118462976, 1772446740356460545);
INSERT INTO `iam_role_path` VALUES (1772446949400571909, 1757297023118462976, 1772446740356460544);
INSERT INTO `iam_role_path` VALUES (1772446949400571910, 1757297023118462976, 1772446740356460548);
INSERT INTO `iam_role_path` VALUES (1772446949400571911, 1757297023118462976, 1768219994979528711);
INSERT INTO `iam_role_path` VALUES (1772446949400571912, 1757297023118462976, 1768219994979528710);
INSERT INTO `iam_role_path` VALUES (1772446949400571913, 1757297023118462976, 1768219994979528704);
INSERT INTO `iam_role_path` VALUES (1772446949400571914, 1757297023118462976, 1768219994979528707);
INSERT INTO `iam_role_path` VALUES (1772446952005234688, 1757298887092326400, 1772446740356460550);
INSERT INTO `iam_role_path` VALUES (1772446952005234689, 1757298887092326400, 1772446740356460549);
INSERT INTO `iam_role_path` VALUES (1772446952005234690, 1757298887092326400, 1772446740356460547);
INSERT INTO `iam_role_path` VALUES (1772446952005234691, 1757298887092326400, 1772446740356460546);
INSERT INTO `iam_role_path` VALUES (1772446952005234692, 1757298887092326400, 1772446740356460545);
INSERT INTO `iam_role_path` VALUES (1772446952005234693, 1757298887092326400, 1772446740356460544);
INSERT INTO `iam_role_path` VALUES (1772446952005234694, 1757298887092326400, 1772446740356460548);
INSERT INTO `iam_role_path` VALUES (1772446952005234695, 1757298887092326400, 1768219994979528711);
INSERT INTO `iam_role_path` VALUES (1772446952005234696, 1757298887092326400, 1768219994979528710);
INSERT INTO `iam_role_path` VALUES (1772446952005234697, 1757298887092326400, 1768219994979528704);
INSERT INTO `iam_role_path` VALUES (1772447125519396864, 1757298887092326400, 1764663810424303620);
INSERT INTO `iam_role_path` VALUES (1772447125519396865, 1757298887092326400, 1764663810424303619);
INSERT INTO `iam_role_path` VALUES (1772447125519396866, 1757298887092326400, 1764663810424303618);
INSERT INTO `iam_role_path` VALUES (1772447125519396867, 1757298887092326400, 1764663810424303617);
INSERT INTO `iam_role_path` VALUES (1772447125519396868, 1757298887092326400, 1764663810424303616);
-- ----------------------------
-- Table structure for iam_user_data_role
@@ -2296,13 +2327,15 @@ CREATE TABLE `pay_alipay_config` (
`last_modified_time` datetime(0) NULL DEFAULT NULL COMMENT '最后修改时间',
`version` int(11) NOT NULL COMMENT '乐观锁',
`deleted` bit(1) NOT NULL COMMENT '删除标志',
`single_limit` int(11) NULL DEFAULT NULL COMMENT '支付限额',
`alipay_user_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '合作者身份ID',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '支付宝支付配置' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of pay_alipay_config
-- ----------------------------
INSERT INTO `pay_alipay_config` VALUES (0, '123456', b'1', 'ServerUrl/callback/pay/alipay', 'ServerUrl/return/pay/alipay', 'https://openapi.alipay.com/gateway.do', 'key', 'RSA2', 'ImfODRp7hnJ3DUk9fCes0Q==', 'ImfODRp7hnJ3DUk9fCes0Q==', NULL, NULL, NULL, b'0', 'wap,app,web,qrcode,barcode', '支付宝支付', 0, '2024-01-02 21:17:58', 1399985191002447872, '2024-02-13 15:43:51', 23, b'0');
INSERT INTO `pay_alipay_config` VALUES (0, '123456', b'1', 'ServerUrl/callback/pay/alipay', 'ServerUrl/return/pay/alipay', 'https://openapi.alipay.com/gateway.do', 'key', 'RSA2', 'ImfODRp7hnJ3DUk9fCes0Q==', 'ImfODRp7hnJ3DUk9fCes0Q==', NULL, NULL, NULL, b'0', 'wap,app,web,qrcode,barcode', '支付宝支付', 0, '2024-01-02 21:17:58', 1399985191002447872, '2024-02-13 15:43:51', 23, b'0', NULL, NULL);
-- ----------------------------
-- Table structure for pay_alipay_reconcile_bill_detail
@@ -2525,7 +2558,7 @@ CREATE TABLE `pay_channel_order` (
`amount` int(11) NULL DEFAULT NULL COMMENT '金额',
`refundable_balance` int(11) NULL DEFAULT NULL COMMENT '可退款金额',
`status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '支付状态',
`pay_time` datetime(0) NULL DEFAULT NULL COMMENT '支付时间',
`pay_time` datetime(0) NULL DEFAULT NULL COMMENT '支付完成时间',
`channel_extra` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '附加支付参数',
`creator` bigint(20) NULL DEFAULT NULL COMMENT '创建者ID',
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
@@ -2678,7 +2711,7 @@ CREATE TABLE `pay_platform_config` (
`sign_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '签名方式',
`sign_secret` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '签名秘钥',
`notify_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '支付通知地址',
`return_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '同步支付通知地址',
`return_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '同步支付跳转地址',
`order_timeout` int(11) NULL DEFAULT NULL COMMENT '订单默认超时时间(分钟)',
`creator` bigint(20) NULL DEFAULT NULL COMMENT '创建者ID',
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
@@ -2686,13 +2719,14 @@ CREATE TABLE `pay_platform_config` (
`last_modified_time` datetime(0) NULL DEFAULT NULL COMMENT '最后修改时间',
`version` int(11) NOT NULL COMMENT '乐观锁',
`deleted` bit(1) NOT NULL COMMENT '删除标志',
`limit_amount` int(11) NULL DEFAULT NULL COMMENT '支付限额',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '支付平台配置' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of pay_platform_config
-- ----------------------------
INSERT INTO `pay_platform_config` VALUES (0, 'http://127.0.0.1', 'HMAC_SHA256', '132456', 'http://127.0.0.1/h5/#/result/success', 'http://127.0.0.1/h5/#/result/success', 30, 0, '2024-01-02 20:23:19', 1757299137932677120, '2024-02-13 15:08:51', 3, b'0');
INSERT INTO `pay_platform_config` VALUES (0, 'http://127.0.0.1', 'HMAC_SHA256', '132456', 'http://127.0.0.1/h5/#/result/success', 'http://127.0.0.1/h5/#/result/success', 30, 0, '2024-01-02 20:23:19', 1757299137932677120, '2024-02-13 15:08:51', 3, b'0', NULL);
-- ----------------------------
-- Table structure for pay_reconcile_detail
@@ -2903,6 +2937,32 @@ CREATE TABLE `pay_sync_record` (
-- Records of pay_sync_record
-- ----------------------------
-- ----------------------------
-- Table structure for pay_transfer_order
-- ----------------------------
DROP TABLE IF EXISTS `pay_transfer_order`;
CREATE TABLE `pay_transfer_order` (
`id` bigint(20) NOT NULL COMMENT '主键',
`out_trade_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`channel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`amount` int(11) NULL DEFAULT NULL,
`status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`payer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`payee` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`success_time` datetime(0) NULL DEFAULT NULL,
`creator` bigint(20) NULL DEFAULT NULL COMMENT '创建者ID',
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
`last_modifier` bigint(20) NULL DEFAULT NULL COMMENT '最后修者ID',
`last_modified_time` datetime(0) NULL DEFAULT NULL COMMENT '最后修改时间',
`version` int(11) NOT NULL COMMENT '乐观锁',
`deleted` bit(1) NOT NULL COMMENT '删除标志',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '转账订单' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of pay_transfer_order
-- ----------------------------
-- ----------------------------
-- Table structure for pay_union_pay_config
-- ----------------------------
@@ -2930,13 +2990,14 @@ CREATE TABLE `pay_union_pay_config` (
`last_modified_time` datetime(0) NULL DEFAULT NULL COMMENT '最后修改时间',
`version` int(11) NOT NULL COMMENT '乐观锁',
`deleted` bit(1) NOT NULL COMMENT '删除标志',
`single_limit` int(11) NULL DEFAULT NULL COMMENT '支付限额',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '云闪付支付配置' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of pay_union_pay_config
-- ----------------------------
INSERT INTO `pay_union_pay_config` VALUES (0, '123456', b'1', 'https://qra.95516.com/pay/gateway', 'ServerUrl/callback/pay/union', 'wap,app,web,qrcode,barcode,jsapi,b2b', NULL, NULL, 'RSA2', b'0', NULL, NULL, NULL, NULL, b'1', 'ServerUrl/return/pay/union', 0, '2024-03-06 22:56:22', 1399985191002447872, '2024-03-12 23:30:18', 11, b'0');
INSERT INTO `pay_union_pay_config` VALUES (0, '123456', b'1', 'https://qra.95516.com/pay/gateway', 'ServerUrl/callback/pay/union', 'wap,app,web,qrcode,barcode,jsapi,b2b', NULL, NULL, 'RSA2', b'0', NULL, NULL, NULL, NULL, b'1', 'ServerUrl/return/pay/union', 0, '2024-03-06 22:56:22', 1399985191002447872, '2024-03-12 23:30:18', 11, b'0', NULL);
-- ----------------------------
-- Table structure for pay_union_pay_record
@@ -2959,6 +3020,23 @@ CREATE TABLE `pay_union_pay_record` (
-- Records of pay_union_pay_record
-- ----------------------------
-- ----------------------------
-- Table structure for pay_union_reconcile_bill_detail
-- ----------------------------
DROP TABLE IF EXISTS `pay_union_reconcile_bill_detail`;
CREATE TABLE `pay_union_reconcile_bill_detail` (
`record_order_id` bigint(20) NULL DEFAULT NULL COMMENT '关联对账订单ID',
`trade_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '交易代码',
`txn_time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '交易传输时间',
`txn_amt` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '交易金额',
`query_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '查询流水号',
`order_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '商户订单号'
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '云闪付业务明细对账单' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of pay_union_reconcile_bill_detail
-- ----------------------------
-- ----------------------------
-- Table structure for pay_voucher
-- ----------------------------
@@ -3189,13 +3267,14 @@ CREATE TABLE `pay_wechat_pay_config` (
`last_modified_time` datetime(0) NULL DEFAULT NULL COMMENT '最后修改时间',
`version` int(11) NOT NULL COMMENT '乐观锁',
`deleted` bit(1) NOT NULL COMMENT '删除标志',
`single_limit` int(11) NULL DEFAULT NULL COMMENT '支付限额',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '微信支付配置' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of pay_wechat_pay_config
-- ----------------------------
INSERT INTO `pay_wechat_pay_config` VALUES (0, '123', '123', b'1', 'ServerUrl/callback/pay/wechat', 'ServerUrl/pay/wechat', '0', NULL, 'E0jIzPNngkpkZYL19H3vFQ==', 'E0jIzPNngkpkZYL19H3vFQ==', 'E0jIzPNngkpkZYL19H3vFQ==', NULL, '0', 'wap,app,jsapi,qrcode,barcode', 0, '0000-00-00 00:00:00', 2024, '0000-00-00 00:00:00', 2024, b'1');
INSERT INTO `pay_wechat_pay_config` VALUES (0, '123', '123', b'1', 'ServerUrl/callback/pay/wechat', 'ServerUrl/pay/wechat', '0', NULL, 'E0jIzPNngkpkZYL19H3vFQ==', 'E0jIzPNngkpkZYL19H3vFQ==', 'E0jIzPNngkpkZYL19H3vFQ==', NULL, '0', 'wap,app,jsapi,qrcode,barcode', 0, '0000-00-00 00:00:00', 2024, '0000-00-00 00:00:00', 2024, b'1', NULL);
-- ----------------------------
-- Table structure for pay_wechat_pay_record
@@ -3362,6 +3441,7 @@ CREATE TABLE `qrtz_fired_triggers` (
-- ----------------------------
-- Records of qrtz_fired_triggers
-- ----------------------------
INSERT INTO `qrtz_fired_triggers` VALUES ('quartzScheduler', 'NON_CLUSTERED1711420949184', '1546857070483939328', 'DEFAULT', 'NON_CLUSTERED', 1711421986284, 1711421990000, 5, 'ACQUIRED', NULL, NULL, '0', '0');
-- ----------------------------
-- Table structure for qrtz_job_details
@@ -3519,7 +3599,7 @@ CREATE TABLE `qrtz_triggers` (
-- ----------------------------
-- Records of qrtz_triggers
-- ----------------------------
INSERT INTO `qrtz_triggers` VALUES ('quartzScheduler', '1546857070483939328', 'DEFAULT', '1546857070483939328', 'DEFAULT', NULL, 1708956430000, 1708956425000, 5, 'WAITING', 'CRON', 1708844216000, 0, NULL, 0, '');
INSERT INTO `qrtz_triggers` VALUES ('quartzScheduler', '1546857070483939328', 'DEFAULT', '1546857070483939328', 'DEFAULT', NULL, 1711421995000, 1711421990000, 5, 'ACQUIRED', 'CRON', 1708844216000, 0, NULL, 0, '');
-- ----------------------------
-- Table structure for starter_audit_data_version

View File

@@ -1,15 +1,27 @@
# CHANGELOG
## [v2.0.4]
- 新增: 首页驾驶舱功能: 各通道收入和支付情况
- 新增: 云闪付支持对账功能
- 新增: 对账文件支持手动导入
- 新增: 结算台DEMO增加云闪付示例
- 新增: 增加支付限额,包括整单限额和通道限额
- 优化: 支付流程也改为先落库后支付情况, 避免极端情况导致掉单
- 优化: 前端列表状态显示优化
- fix: 对账订单流水号生成规则不是按天生成修改
## [v2.0.3]
- 增加云闪付通道,支持支付、退款、同步、回调处理
- 增加定时同步退款中的退款订单任务
- 增加通知任务订单的状态类型,例如订单关闭、成功、失败等
- 增加退款操作支持重试
- 增加手动触发通知任务消息的发送功能
## [v2.0.2]
- 增加微信支付对账功能
- 增加支付宝支付对账功能
- 优化: 修复策略对订单时间和状态字段的变更优化
- fix: 前端支付订单查询条件中"支付ID"条件不生效
## [v2.0.1]
- 增加支付、退款时客户通知功能,支持多次重发
- 开源文档增加支付通知和退款通知文档
@@ -31,7 +43,7 @@
- fix: 修复简单退款选择全部退款时报错问题
- fix: 修复退款时未检验退款金额问题,导致可以退款余额可以大于可退余额
## [v2.0.3]
## [v2.0.0]
- 支持支付宝支付: 扫码支付、付款码支付、PC支付、H5支付
- 支持微信支付: 扫码支付、WAP支付、公众号支付
- 增加聚合支付演示功能,支持支付宝和微信支付

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>cn.bootx.platform</groupId>
<artifactId>dax-pay</artifactId>
<version>2.0.3</version>
<version>2.0.4</version>
</parent>
<artifactId>daxpay-single-demo</artifactId>
@@ -36,7 +36,7 @@
<dependency>
<groupId>cn.bootx.platform</groupId>
<artifactId>daxpay-single-sdk</artifactId>
<version>2.0.3</version>
<version>2.0.4</version>
</dependency>
</dependencies>

View File

@@ -6,7 +6,7 @@
<groupId>cn.bootx.platform</groupId>
<artifactId>daxpay-single-sdk</artifactId>
<version>2.0.3</version>
<version>2.0.4</version>
<packaging>jar</packaging>
<!-- 项目信息 -->

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>cn.bootx.platform</groupId>
<artifactId>daxpay-single</artifactId>
<version>2.0.3</version>
<version>2.0.4</version>
</parent>
<artifactId>daxpay-single-admin</artifactId>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>cn.bootx.platform</groupId>
<artifactId>daxpay-single</artifactId>
<version>2.0.3</version>
<version>2.0.4</version>
</parent>
<artifactId>daxpay-single-core</artifactId>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>cn.bootx.platform</groupId>
<artifactId>daxpay-single</artifactId>
<version>2.0.3</version>
<version>2.0.4</version>
</parent>
<artifactId>daxpay-single-gateway</artifactId>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>cn.bootx.platform</groupId>
<artifactId>daxpay-single</artifactId>
<version>2.0.3</version>
<version>2.0.4</version>
</parent>
<artifactId>daxpay-single-service</artifactId>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>cn.bootx.platform</groupId>
<artifactId>daxpay-single</artifactId>
<version>2.0.3</version>
<version>2.0.4</version>
</parent>
<artifactId>daxpay-single-start</artifactId>

View File

@@ -65,7 +65,7 @@ bootx:
swagger:
enabled: true
author: bootx
version: 2.0.3
version: 2.0.4
title: 开源支付平台-单商户
description: 开源支付平台-单商户版
# 多模块扫码
@@ -100,6 +100,7 @@ bootx:
starter:
# 认证
auth:
enable-admin: true
default-password: 123456
ignore-urls:
- '/actuator/**'

View File

@@ -65,7 +65,7 @@ bootx:
swagger:
enabled: false
author: bootx
version: 2.0.3
version: 2.0.4
title: 开源支付平台-单商户
description: 开源支付平台-单商户版
# 缓存

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>cn.bootx.platform</groupId>
<artifactId>dax-pay</artifactId>
<version>2.0.3</version>
<version>2.0.4</version>
</parent>
<artifactId>daxpay-single</artifactId>

View File

@@ -15,7 +15,7 @@
<groupId>cn.bootx.platform</groupId>
<artifactId>dax-pay</artifactId>
<packaging>pom</packaging>
<version>2.0.3</version>
<version>2.0.4</version>
<modules>
<module>daxpay-single</module>
@@ -30,7 +30,7 @@
<!-- 二方库版本 -->
<bootx-platform.version>1.3.6.2</bootx-platform.version>
<daxpay.version>2.0.3</daxpay.version>
<daxpay.version>2.0.4</daxpay.version>
<!-- 三方库 -->
<slf4j.version>1.7.30</slf4j.version>
<redisson.version>3.16.8</redisson.version>