Commit Graph

210 Commits

Author SHA1 Message Date
jason
aa2f651124 Pay: 转账单实现 2023-09-29 13:50:06 +08:00
YunaiV
5913ee0706 Merge branch 'master' of https://gitee.com/zhijiantianya/ruoyi-vue-pro into feature/mall_product
# Conflicts:
#	yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/jackson/config/YudaoJacksonAutoConfiguration.java
#	yudao-module-mall/yudao-module-promotion-api/src/main/java/cn/iocoder/yudao/module/promotion/enums/ErrorCodeConstants.java
#	yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/bargain/vo/activity/AppBargainActivityDetailRespVO.java
#	yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/controller/app/bargain/vo/activity/AppBargainActivityRespVO.java
#	yudao-module-mall/yudao-module-trade-api/src/main/java/cn/iocoder/yudao/module/trade/enums/ErrorCodeConstants.java
#	yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/vo/AppTradeOrderSettlementReqVO.java
#	yudao-module-member/yudao-module-member-api/src/main/java/cn/iocoder/yudao/module/member/enums/ErrorCodeConstants.java
#	yudao-module-pay/yudao-module-pay-api/src/main/java/cn/iocoder/yudao/module/pay/enums/ErrorCodeConstants.java
#	yudao-server/src/main/resources/application-local.yaml
2023-09-28 15:18:59 +08:00
jason
0f0e6eb8ba Pay Client 新增转账接口 2023-09-25 08:34:58 +08:00
jason
60f766f35c 钱包充值允许多次退款 2023-09-24 10:49:13 +08:00
jason
910ffa7a5a 钱包充值退款 2023-09-22 19:04:59 +08:00
jason
dbd7ab5f23 code review 修改 2023-09-21 17:31:58 +08:00
YunaiV
9630f236f8 Merge branch 'feature/auth' of https://gitee.com/zhijiantianya/ruoyi-vue-pro
 Conflicts:
	README.md
2023-09-19 22:28:45 +08:00
YunaiV
080c32b9f3 code review:钱包充值 2023-09-18 13:07:54 +08:00
YunaiV
222daa5366 pay 缓存,使用 guava 替代 job 扫描,目的:提升启动速度,加快缓存失效 2023-09-16 23:22:58 +08:00
jason
bbc16bb937 钱包充值 Mapper 类 2023-09-15 16:14:04 +08:00
jason
0e1b8126dd 新增钱包充值。启动报错修复 2023-09-14 16:55:31 +08:00
xingyu
437131cc7a Merge remote-tracking branch 'origin/master' into feature/auth
# Conflicts:
#	yudao-dependencies/pom.xml
2023-09-13 12:00:10 +08:00
xingyu
5e9e41c045 fix: required 过期 2023-09-11 12:30:33 +08:00
puhui999
3976011af0 Merge remote-tracking branch 'yudao/feature/mall_product' into feature/mall_product 2023-09-10 22:54:01 +08:00
puhui999
c023209aa5 订单管理:完善订单调价分摊逻辑 2023-09-10 00:50:13 +08:00
puhui999
51dab96889 支付订单错误码枚举类变量添加 PAY_ 前缀和交易订单区分开避免冲突 2023-09-10 00:48:30 +08:00
YunaiV
cd51d57f12 分销:调整 app 的 price 到 brokeragePrice 2023-09-09 19:42:53 +08:00
jason
5858f57fe9 钱包 review 修改 2023-09-09 18:32:53 +08:00
芋道源码
3b5215db21
!611 分销用户管理、Review代码修改
Merge pull request !611 from 疯狂的世界/brokerate
2023-09-09 00:48:00 +00:00
YunaiV
87c55784c4 code review:营销活动+订单 2023-09-09 01:27:55 +08:00
芋道源码
5235aff8ad
!610 营销活动+订单:完善大部分 TODO 提到的问题
Merge pull request !610 from puhui999/feature/mall_product
2023-09-08 15:36:51 +00:00
YunaiV
3e09da0128 code review:支付钱包 2023-09-08 22:47:00 +08:00
owen
ddcebb1986 common: MoneyUtils 移到 common 模块 2023-09-08 12:46:43 +08:00
puhui999
5d6bb84d25 Merge remote-tracking branch 'yudao/feature/mall_product' into feature/mall_product 2023-09-08 00:59:53 +08:00
puhui999
0e8755972c 营销活动+订单:完善大部分 TODO 提到的问题 2023-09-08 00:35:54 +08:00
YunaiV
eb342d5abf Merge remote-tracking branch 'origin/feature/mall_product' into feature/mall_product
# Conflicts:
#	yudao-module-member/yudao-module-member-biz/src/test/resources/sql/create_tables.sql
2023-09-06 23:50:55 +08:00
YunaiV
bf92727b27 Merge branch 'master' of https://gitee.com/zhijiantianya/ruoyi-vue-pro into feature/mall_product
 Conflicts:
	yudao-module-member/yudao-module-member-biz/src/test/resources/sql/create_tables.sql
2023-09-06 21:40:53 +08:00
jason
3f51be6a2d 钱包。删除不需要的类 2023-09-06 08:50:22 +08:00
jason
f3ca0f066b 会员钱包 查询订单和查询退款单的实现 2023-09-05 12:44:34 +08:00
jason
cc4c924717 钱包 review DO 类修改 2023-09-04 14:54:38 +08:00
jason
91b03e7c93 钱包 review 修改 2023-09-04 12:18:56 +08:00
YunaiV
379c143dbb 修复:#320 支付手续费计算不正确,超过付款金额 #334 2023-09-03 18:39:51 +08:00
芋道源码
05fc322919
Merge pull request #334 from freesme/fix-master-#320-calculation-error
修复:#320 支付手续费计算不正确,超过付款金额
2023-09-03 18:37:52 +08:00
YunaiV
ba444c9538 code review:支付钱包 2023-08-31 20:13:12 +08:00
jason
457312d5aa 修改 PayClientFactory 创建 PayClient 方法 2023-08-31 14:30:12 +08:00
jason
7d4d3bea55 Revert "创建 PayClient 迁移到 PayChannelService"
This reverts commit 716727bfa7.
2023-08-31 08:27:22 +08:00
jason
278f2af8f8 Merge remote-tracking branch 'origin/feature/mall_product' into feature/mall_product 2023-08-29 15:29:02 +08:00
jason
716727bfa7 创建 PayClient 迁移到 PayChannelService 2023-08-29 15:28:24 +08:00
YunaiV
cc71aabd3d 钱包:钱包流水 api 2023-08-29 00:31:54 +08:00
YunaiV
6132443d26 code review:钱包实现 2023-08-28 18:54:40 +08:00
jason
9077f14bae 钱包支付 Client 失败问题修改 2023-08-28 13:54:25 +08:00
耿林猛
3d894ca7f5 修复:#320 支付手续费计算不正确,超过付款金额
(cherry picked from commit 0df2d7191f7a467f2eeeb5bd19217a4a039395db)
2023-08-28 11:20:19 +08:00
jason
7237bc07bb 钱包退款的实现 2023-08-28 10:25:50 +08:00
jason
c7f6f92159 钱包支付 Client 的实现 2023-08-28 07:39:03 +08:00
jason
f33b66558c 新增查询钱包余额明细接口 2023-08-25 22:08:40 +08:00
jason
1ffbd9399e 新增获得支付钱包接口 2023-08-25 22:08:40 +08:00
zhijiantianya@gmail.com
ba59ec85e0 code review 各种活动 2023-08-07 19:30:26 +08:00
YunaiV
105f1a2707 fix: banner 日志打印 2023-08-05 16:35:11 +08:00
YunaiV
bf3e848c17 Merge branch 'master' of https://gitee.com/zhijiantianya/ruoyi-vue-pro into feature/mall_product 2023-07-29 11:06:59 +08:00
YunaiV
5e7e3d816c 彻底移除 RedisKeyDefine 2023-07-29 07:16:10 +08:00
YunaiV
c33186569d 优化 mp 账号的刷新机制,使用 Job 轮询,替换 MQ 广播 2023-07-27 20:25:15 +08:00
jason
6a38738760 新增模拟支付渠道,通知查询为空bug 修改 2023-07-27 08:19:24 +08:00
YunaiV
7c165fb1f6 1. 完善 PayNotifyServiceImpl 的单元测试 2023-07-24 23:04:38 +08:00
zhijiantianya@gmail.com
73e1158836 by gateway:
1. notify 部分单元测试
2023-07-24 20:11:21 +08:00
YunaiV
3a24d05bdc mall + pay:
1. 修复单元测试的报错
2023-07-24 07:04:11 +08:00
YunaiV
6aea461e8d mall + pay:
1. 完善 PayRefundServiceTest 的单元测试
2023-07-23 23:20:52 +08:00
YunaiV
ebeb14be2f mall + pay:
1. 完善 PayRefundServiceTest 的单元测试
2023-07-23 22:29:33 +08:00
YunaiV
9812881094 mall + pay:
1. 增加退款同步的 Job
2023-07-23 21:16:03 +08:00
YunaiV
0e5e6c7ce0 mall + pay:
1. 增加微信退款的查询接口
2023-07-23 20:39:52 +08:00
YunaiV
5b066ea693 mall + pay:
1. 增加支付宝退款查询接口
2023-07-22 20:46:38 +08:00
YunaiV
ac5646b84d mall + pay:
1. 支付订单的过期关闭 Job[单测]
2023-07-22 19:53:48 +08:00
YunaiV
cc853a2b92 mall + pay:
1. 支付订单的状态同步 Job[单测]
2023-07-22 17:47:58 +08:00
YunaiV
15cca8f3de mall + pay:
1. 支付订单的状态同步 Job
2. 支付订单的过期关闭 Job
2023-07-22 15:48:45 +08:00
YunaiV
348d073718 mall + pay:
1. 发起支付时,增加实际已支付的二次校验,避免重复支付
2023-07-22 13:19:22 +08:00
zhijiantianya@gmail.com
e27ec2fd50 by gateway:
1. 完善部分 refund 单元测试
2023-07-21 22:02:39 +08:00
YunaiV
654b70c514 mall + pay:
1. 增加通知管理
2023-07-20 22:48:06 +08:00
zhijiantianya@gmail.com
b54f7e9256 by gateway:
1. 完善部分 order 单元测试
2. 增加支付订单的 no 生成逻辑
2023-07-20 20:07:44 +08:00
YunaiV
721adfbf60 mall + pay:
1. 优化退款管理的导出实现
2023-07-19 23:05:45 +08:00
YunaiV
3caa5f14bd mall + pay:
1. 优化退款管理的接口实现
2023-07-19 22:33:19 +08:00
YunaiV
b84da30234 mall + pay:
1. 优化订单管理的接口实现
2. 支付状态增加 refund 类型,将 refund status 合并进去
2023-07-19 21:09:02 +08:00
YunaiV
5dcb3db5d7 mall + pay:
1. 优化订单管理的接口实现
2023-07-19 09:50:24 +08:00
YunaiV
888c488206 mall + pay:
1. 优化 PayClient 退款逻辑,返回业务失败 errorCode + errorMsg 错误码
2023-07-18 22:36:03 +08:00
zhijiantianya@gmail.com
3f410c2735 by gateway:
1. 补全 channel 单元测试
2. 完善部分 order 单元测试
2023-07-18 20:21:25 +08:00
YunaiV
6f475f8c85 mall + pay:
1. 优化 PayClient 支付逻辑,返回业务失败 errorCode + errorMsg 错误码
2023-07-18 07:37:03 +08:00
YunaiV
7cf4c5415e mall + pay:
1. 将 payNotifyUrl 统一改成 orderNotifyUrl
2023-07-17 16:38:31 +08:00
YunaiV
68a4ef98ca mall + pay:
1. 拆分支付回调、退款回调的 URL
2. 修复微信支付回调的时间解析错误
2023-07-17 11:47:45 +08:00
YunaiV
7caf8e900f mall + pay:
1. 增加微信 bar 和 native 的集成测试,方便调试配置
2023-07-16 19:24:29 +08:00
YunaiV
c44ace6011 mall + pay:
1. 完成支付宝的退款重构
2. 完成 demo 模块的退款接入
2023-07-15 20:36:04 +08:00
YunaiV
518e89dc4b mall + pay:
1. 重构支付回调的逻辑,将回调解析改成 PayOrderRespDTO,为后续轮询做铺垫
2. 调整退款单的表结构
3. 调整退款调用的实现
2023-07-15 10:35:41 +08:00
YunaiV
fbb63ee262 mall + pay:
1. 修复 PayNotifyTask 首次通知时,可能会失败的情况;原因:MySQL 时间的精度问题;
2023-07-12 22:40:39 +08:00
zhijiantianya@gmail.com
47ba5b7b44 by gateway: 支付渠道的代码优化 2023-07-12 20:34:43 +08:00
zhijiantianya@gmail.com
35ceef371c Merge remote-tracking branch 'origin/feature/mall_product' into feature/mall_product 2023-07-12 12:52:58 +08:00
zhijiantianya@gmail.com
052e4689ee by gateway: 支付应用的代码优化 2023-07-12 12:52:48 +08:00
YunaiV
0ac599a3d9 mall + pay:
1. 修复支付宝沙箱地址的调整
2. 收银台的前端 URL 支付走整个网页跳转
3. 收银台的支付成功后,增加 returnUrl 回跳
4. 修复 PayNotifyTask 首次通知时,可能会失败的情况;原因:租户未传递;
2023-07-12 00:04:19 +08:00
zhijiantianya@gmail.com
f1c4c7964a gateway commit test 2023-07-11 21:18:24 +08:00
YunaiV
cad508def6 mall + pay:
1. bar 扫码支付成功后,额外返回 notify
2. notify 在支付回调时,增加幂等处理
2023-07-10 23:06:00 +08:00
YunaiV
2485a5ebc9 mall + pay:
1. 将 amount 统一都修改成 price
2. 将 payed 统一改成 payStatus
2023-07-10 17:35:26 +08:00
YunaiV
5d2d52020e mall + pay:简化 pay 的复杂度
1. 移除 merchant 表设计
2. 移除 app 和 channel 的导出
2023-07-09 12:40:26 +08:00
YunaiV
b06a21f9af mall + pay:
1. 实现 WxNativePayClient 的支付功能
2023-07-09 00:36:40 +08:00
YunaiV
e31b40eefa mall + pay:
1. 实现 WxBarPayClient 的支付功能
2023-07-08 23:37:25 +08:00
YunaiV
4014137a4c mall + pay:调整异常的处理
1. 在 PayOrderUnifiedRespDTO 增加 status 字段,用于后续微信付款码支付时,直接支付成功的场景。
2023-07-08 22:40:27 +08:00
YunaiV
e615be971e mall + pay:
1、测试通过微信小程序支付
2023-07-08 12:44:50 +08:00
YunaiV
d76bc7aa82 mall + pay:
1、初步完成微信扫码支付,暂时缺少状态的处理
2023-07-08 00:08:05 +08:00
YunaiV
3f33ca2d6b mall + pay:
1、增加获得支付渠道接口
2023-07-06 23:16:53 +08:00
YunaiV
cbc61184bd mall + pay:
1、优化微信公众号 MP 支付的实现
2023-07-06 19:11:32 +08:00
YunaiV
67d60e32f8 mall + pay:
1、调整微信支付,修复 v2 传递的时间不正确
2、调整 mp js ticket 接口到 system 模块
2023-07-06 00:19:05 +08:00
YunaiV
20eb0a2a88 mall + pay:
1、调整 returnUrl 的实现
2023-07-04 23:43:16 +08:00
YunaiV
040a66965c mall + member:
1、review 积分
2023-07-02 23:19:13 +08:00
jason
3a1e5c1b5f pay : 会员电子钱包表结构 2023-06-30 10:24:36 +08:00
xingyu
573ad59edc Merge remote-tracking branch 'origin/master' into feature/mall_product
# Conflicts:
#	yudao-framework/yudao-common/src/main/java/cn/iocoder/yudao/framework/common/util/string/StrUtils.java
#	yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/brand/vo/ProductBrandBaseVO.java
#	yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/category/vo/ProductCategoryBaseVO.java
#	yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/sku/vo/ProductSkuBaseVO.java
#	yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/vo/ProductSpuBaseVO.java
#	yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/vo/ProductSpuRespVO.java
#	yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/vo/ProductSpuSimpleRespVO.java
#	yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/spu/vo/AppProductSpuDetailRespVO.java
#	yudao-module-mall/yudao-module-product-biz/src/main/java/cn/iocoder/yudao/module/product/controller/app/spu/vo/AppProductSpuPageItemRespVO.java
#	yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/admin/order/vo/TradeOrderBaseVO.java
#	yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/admin/order/vo/TradeOrderItemBaseVO.java
#	yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/base/sku/AppProductSkuBaseRespVO.java
#	yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/cart/vo/AppTradeCartDetailRespVO.java
#	yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/cart/vo/AppTradeCartItemUpdateSelectedReqVO.java
#	yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/cart/vo/AppTradeCartResetReqVO.java
#	yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/vo/AppTradeOrderCreateReqVO.java
#	yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/vo/AppTradeOrderDetailRespVO.java
#	yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/vo/AppTradeOrderGetCreateInfoRespVO.java
#	yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/controller/app/order/vo/AppTradeOrderPageItemRespVO.java
#	yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/address/vo/AppAddressBaseVO.java
2023-06-14 15:18:12 +08:00