feat(core): 完成收银台功能并优化配置

- 实现收银台台功能
- 添加 CheckoutGroupConfigResult 和 CheckoutItemConfigResult 类的主键字段- 更新 CheckoutQueryService 以设置订单信息
- 调整 Task.md 中的任务列表,标记已完成的收银台相关任务
This commit is contained in:
DaxPay
2024-12-04 19:23:19 +08:00
parent 947817e12d
commit 633b7ea17a
4 changed files with 13 additions and 5 deletions

View File

@@ -11,7 +11,7 @@
- [x] 微信通道添加单独的认证跳转地址, 处理它的特殊情况
- [x] 支付订单新增待支付状态
## 3.0.0.beta3
- [ ] 收银台台功能
- [x] 收银台台功能
- [x] 收银台配置
- [x] 分类配置
- [x] 明细配置
@@ -24,16 +24,17 @@
- [ ] 聚合支付(生成扫码链接)
- [ ] H5收银台
- [ ] 跳转支付
- [x] 升级为聚合支付
- [ ] ~~APP调起支付~~
- [ ] ~~小程序支付~~
- [ ] 聚合收银台
- [ ] Jsapi调用
- [ ] 跳转支付
- [x] 聚合收银台
- [x] Jsapi调用
- [x] 跳转支付
- [x] 支付码牌功能改造
- [x] 一个应用支持多码牌
- [x] 码牌不再使用应用号作为标识, 使用独立的编码
- [x] 码牌H5页面对接
- [ ] 分账配置/分账组/分账接收方合并为一个tabs页面
## bugs
- [x] 修复 BigDecimal 类型数据序列化和签名异常问题
- [x] 获取是否订阅消息通知类型查询范围错误问题

View File

@@ -16,6 +16,9 @@ import java.util.List;
@Accessors(chain = true)
@Schema(title = "收银台分类配置")
public class CheckoutGroupConfigResult{
/** 主键 */
@Schema(description = "主键")
private Long id;
/**
* 类型 web/h5/小程序

View File

@@ -17,6 +17,9 @@ import org.dromara.daxpay.core.enums.PayMethodEnum;
@Schema(title = "收银台配置项")
public class CheckoutItemConfigResult {
/** 主键 */
@Schema(description = "主键")
private Long id;
/**
* 发起调用的类型
* @see CheckoutCallTypeEnum

View File

@@ -90,6 +90,7 @@ public class CheckoutQueryService {
.setAmount(payOrder.getAmount())
.setBizOrderNo(payOrder.getBizOrderNo())
.setOrderNo(payOrder.getOrderNo());
checkoutInfoResult.setOrder(order);
// 获取收银台配置
checkoutInfoResult.setConfig(this.getConfig(payOrder.getAppId()));
// 获取分组和明细配置